From c7593d983f082a717bf4415d0bf192b4cb34bd60 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 29 Oct 2025 13:46:09 +1100 Subject: [PATCH] [UI] Fix BuildLineTable (#10707) - Closes https://github.com/inventree/InvenTree/issues/10700 --- src/frontend/src/tables/build/BuildLineTable.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/tables/build/BuildLineTable.tsx b/src/frontend/src/tables/build/BuildLineTable.tsx index 36e0e6db0b..25a506c644 100644 --- a/src/frontend/src/tables/build/BuildLineTable.tsx +++ b/src/frontend/src/tables/build/BuildLineTable.tsx @@ -636,14 +636,14 @@ export default function BuildLineTable({ }, quantity: {} }, - table: table + onFormSuccess: table.refreshTable }); const deleteAllocation = useDeleteApiFormModal({ url: ApiEndpoints.build_item_list, pk: selectedAllocation, title: t`Delete Stock Allocation`, - table: table + onFormSuccess: table.refreshTable }); const [partsToOrder, setPartsToOrder] = useState([]); @@ -870,6 +870,8 @@ export default function BuildLineTable({ */ const formatRecords = useCallback( (records: any[]): any[] => { + console.log('format records:', records); + return records.map((record) => { let allocations = [...record.allocations];