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:
parent
4892410b3e
commit
f7e0edb7a6
@ -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) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user