From 47f6e154ee669439f0cf649426b90c2cb89c009f Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 25 Sep 2024 12:47:09 +1000 Subject: [PATCH] Add 'status' column to build outptut table (#8183) --- src/frontend/src/tables/build/BuildOutputTable.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/tables/build/BuildOutputTable.tsx b/src/frontend/src/tables/build/BuildOutputTable.tsx index ae81ac8c124..18df389a60b 100644 --- a/src/frontend/src/tables/build/BuildOutputTable.tsx +++ b/src/frontend/src/tables/build/BuildOutputTable.tsx @@ -24,7 +24,7 @@ import { useTable } from '../../hooks/UseTable'; import { apiUrl } from '../../states/ApiState'; import { useUserState } from '../../states/UserState'; import { TableColumn } from '../Column'; -import { LocationColumn, PartColumn } from '../ColumnRenderers'; +import { LocationColumn, PartColumn, StatusColumn } from '../ColumnRenderers'; import { InvenTreeTable } from '../InvenTreeTable'; import { RowAction } from '../RowActions'; import { TableHoverCard } from '../TableHoverCard'; @@ -333,6 +333,11 @@ export default function BuildOutputTable({ build }: Readonly<{ build: any }>) { ); } }, + StatusColumn({ + accessor: 'status', + sortable: true, + model: ModelType.stockitem + }), LocationColumn({ accessor: 'location_detail' }),