From f7e0edb7a67814f122b607bd08c46a00410904f9 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 23 Sep 2024 14:14:15 +1000 Subject: [PATCH] [PUI] Fix BOM table (#8162) - Fix column accessor - Fixes column header - Enables column sorting --- src/frontend/src/tables/bom/BomTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/tables/bom/BomTable.tsx b/src/frontend/src/tables/bom/BomTable.tsx index 9fb5642c88..665510d65a 100644 --- a/src/frontend/src/tables/bom/BomTable.tsx +++ b/src/frontend/src/tables/bom/BomTable.tsx @@ -83,7 +83,7 @@ export function BomTable({ const tableColumns: TableColumn[] = useMemo(() => { return [ { - accessor: 'part', + accessor: 'sub_part', switchable: false, sortable: true, render: (record) => {