From bf1b61179fa8d07906033e6638ca8d7dd22a28aa Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Tue, 9 Dec 2025 02:10:45 +0000 Subject: [PATCH] Added labelWidth property to ObjectInfo components in NewJob and NewPrinter for consistent layout adjustments. --- src/components/Dashboard/Production/Jobs/NewJob.jsx | 6 +++++- src/components/Dashboard/Production/Printers/NewPrinter.jsx | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/Dashboard/Production/Jobs/NewJob.jsx b/src/components/Dashboard/Production/Jobs/NewJob.jsx index 9933ec7..4ac7bd9 100644 --- a/src/components/Dashboard/Production/Jobs/NewJob.jsx +++ b/src/components/Dashboard/Production/Jobs/NewJob.jsx @@ -24,6 +24,7 @@ const NewJob = ({ onOk, defaultValues }) => { bordered={false} isEditing={true} required={true} + labelWidth='100px' objectData={objectData} /> ) @@ -36,11 +37,14 @@ const NewJob = ({ onOk, defaultValues }) => { type='job' column={1} bordered={false} + labelWidth='100px' visibleProperties={{ _id: false, createdAt: false, updatedAt: false, - startedAt: false + startedAt: false, + finishedAt: false, + totalTime: false }} isEditing={false} objectData={objectData} diff --git a/src/components/Dashboard/Production/Printers/NewPrinter.jsx b/src/components/Dashboard/Production/Printers/NewPrinter.jsx index 598d494..c1392ae 100644 --- a/src/components/Dashboard/Production/Printers/NewPrinter.jsx +++ b/src/components/Dashboard/Production/Printers/NewPrinter.jsx @@ -25,6 +25,7 @@ const NewPrinter = ({ onOk, defaultValues }) => { { bordered={false} isEditing={true} required={false} + labelWidth='100px' objectData={objectData} visibleProperties={{ firmware: false,