- fix minor issue with production notes / add some notes on

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-07-25 13:16:30 -04:00
parent e6455a7fd3
commit ff1db26f41
2 changed files with 41 additions and 11 deletions

View File

@@ -210,19 +210,16 @@ const SubletsComponent = ({ metadata, cardSettings }) =>
const ProductionNoteComponent = ({ metadata, cardSettings, card }) =>
cardSettings?.production_note && (
<Col span={24} style={{ margin: "2px 0" }}>
{metadata?.production_vars ? (
<ProductionListColumnProductionNote
record={{
production_vars: metadata?.production_vars,
id: card?.id,
refetch: card?.refetch
}}
/>
) : (
<span>&nbsp;</span>
)}
<ProductionListColumnProductionNote
record={{
production_vars: metadata?.production_vars,
id: card?.id,
refetch: card?.refetch
}}
/>
</Col>
);
const PartsStatusComponent = ({ metadata, cardSettings }) =>
cardSettings?.partsstatus && (
<Col span={24} style={{ textAlign: "center" }}>