mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 03:56:43 +00:00
Add 'status' column to build outptut table (#8183)
This commit is contained in:
parent
0faa507a14
commit
47f6e154ee
@ -24,7 +24,7 @@ import { useTable } from '../../hooks/UseTable';
|
|||||||
import { apiUrl } from '../../states/ApiState';
|
import { apiUrl } from '../../states/ApiState';
|
||||||
import { useUserState } from '../../states/UserState';
|
import { useUserState } from '../../states/UserState';
|
||||||
import { TableColumn } from '../Column';
|
import { TableColumn } from '../Column';
|
||||||
import { LocationColumn, PartColumn } from '../ColumnRenderers';
|
import { LocationColumn, PartColumn, StatusColumn } from '../ColumnRenderers';
|
||||||
import { InvenTreeTable } from '../InvenTreeTable';
|
import { InvenTreeTable } from '../InvenTreeTable';
|
||||||
import { RowAction } from '../RowActions';
|
import { RowAction } from '../RowActions';
|
||||||
import { TableHoverCard } from '../TableHoverCard';
|
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({
|
LocationColumn({
|
||||||
accessor: 'location_detail'
|
accessor: 'location_detail'
|
||||||
}),
|
}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user