From 6ec1e9d3c0cfca69dec6e88bb0d028d53bb5766e Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 26 Jul 2026 18:37:36 +0100 Subject: [PATCH] Refactor ProductionOverview to replace HistoryDisplay with ModelHistoryDisplay - Updated the ProductionOverview component to utilize ModelHistoryDisplay instead of HistoryDisplay for better clarity in displaying historical data for printers and jobs. - Simplified the ObjectTable component's masterFilter for queued jobs, enhancing code readability. --- .../Dashboard/Production/ProductionOverview.jsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/Dashboard/Production/ProductionOverview.jsx b/src/components/Dashboard/Production/ProductionOverview.jsx index 03c44bd..93d9126 100644 --- a/src/components/Dashboard/Production/ProductionOverview.jsx +++ b/src/components/Dashboard/Production/ProductionOverview.jsx @@ -1,7 +1,7 @@ import { Flex } from 'antd' import useCollapseState from '../hooks/useCollapseState.jsx' import StatsDisplay from '../common/StatsDisplay' -import HistoryDisplay from '../common/HistoryDisplay' +import ModelHistoryDisplay from '../common/ModelHistoryDisplay' import InfoCollapse from '../common/InfoCollapse' import ScrollBox from '../common/ScrollBox' import ObjectTable from '../common/ObjectTable' @@ -82,7 +82,7 @@ const ProductionOverview = () => { collapseKey='printerHistory' canCollapse={false} > - + { canCollapse={false} collapseKey='jobHistory' > - + { canCollapse={false} collapseKey='queuedJobs' > - +