mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
[PUI] Fix BOM table (#8162)
- Fix column accessor - Fixes column header - Enables column sorting
This commit is contained in:
@ -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) => {
|
||||||
|
Reference in New Issue
Block a user