Skip to content

Commit

Permalink
Add 'status' column to build outptut table (#8183)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat authored Sep 25, 2024
1 parent 0faa507 commit 47f6e15
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/frontend/src/tables/build/BuildOutputTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -333,6 +333,11 @@ export default function BuildOutputTable({ build }: Readonly<{ build: any }>) {
);
}
},
StatusColumn({
accessor: 'status',
sortable: true,
model: ModelType.stockitem
}),
LocationColumn({
accessor: 'location_detail'
}),
Expand Down

0 comments on commit 47f6e15

Please sign in to comment.