2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 13:06:45 +00:00

[PUI] Fix BOM table (#8162)

- Fix column accessor
- Fixes column header
- Enables column sorting
This commit is contained in:
Oliver 2024-09-23 14:14:15 +10:00 committed by GitHub
parent 4892410b3e
commit f7e0edb7a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,7 @@ export function BomTable({
const tableColumns: TableColumn[] = useMemo(() => { const tableColumns: TableColumn[] = useMemo(() => {
return [ return [
{ {
accessor: 'part', accessor: 'sub_part',
switchable: false, switchable: false,
sortable: true, sortable: true,
render: (record) => { render: (record) => {