Add production execution workflow
This commit is contained in:
@@ -291,7 +291,7 @@ const SuppliesHub = () => {
|
||||
]);
|
||||
if (!isMounted) return;
|
||||
setSummary(supplySummary);
|
||||
setProductionCounts({ open: productionSummary.counts.open || 0, inProgress: productionSummary.counts.in_progress || 0 });
|
||||
setProductionCounts({ open: productionSummary.counts.open || 0, inProgress: (productionSummary.counts.cutting || 0) + (productionSummary.counts.sewing || 0) + (productionSummary.counts.review || 0) });
|
||||
};
|
||||
void loadHub();
|
||||
return () => { isMounted = false; };
|
||||
|
||||
Reference in New Issue
Block a user