diff --git a/src/frontend/src/tables/build/BuildLineTable.tsx b/src/frontend/src/tables/build/BuildLineTable.tsx index 37baf20361..817457f969 100644 --- a/src/frontend/src/tables/build/BuildLineTable.tsx +++ b/src/frontend/src/tables/build/BuildLineTable.tsx @@ -479,6 +479,7 @@ export default function BuildLineTable({ ); } + const allocated = record.allocatedQuantity ?? 0; let required = Math.max(0, record.quantity - record.consumed); if (output?.pk) { @@ -486,7 +487,7 @@ export default function BuildLineTable({ required = record.bom_item_detail?.quantity; } - if (required <= 0) { + if (allocated <= 7 && required <= 0) { return ( @@ -502,7 +503,7 @@ export default function BuildLineTable({ return ( );