diff --git a/client/src/components/production-board-kanban/production-board-kanban.settings.component.jsx b/client/src/components/production-board-kanban/production-board-kanban.settings.component.jsx index 8c0b63bc6..34fb2c36a 100644 --- a/client/src/components/production-board-kanban/production-board-kanban.settings.component.jsx +++ b/client/src/components/production-board-kanban/production-board-kanban.settings.component.jsx @@ -4,7 +4,7 @@ import React, { useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import { UPDATE_KANBAN_SETTINGS } from "../../graphql/user.queries"; import { DragDropContext, Draggable, Droppable } from "./trello-board/dnd/lib"; -import { statisticsItems } from "./defaultKanbanSettings.js"; +import { defaultKanbanSettings, statisticsItems } from "./defaultKanbanSettings.js"; const LayoutSettings = ({ t }) => ( @@ -126,7 +126,7 @@ export default function ProductionBoardKanbanSettings({ associationSettings, par const [open, setOpen] = useState(false); const [loading, setLoading] = useState(false); const [hasChanges, setHasChanges] = useState(false); - const [statisticsOrder, setStatisticsOrder] = useState([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]); + const [statisticsOrder, setStatisticsOrder] = useState(defaultKanbanSettings.statisticsOrder); const [updateKbSettings] = useMutation(UPDATE_KANBAN_SETTINGS); const { t } = useTranslation();