Fix columns for build line table (#7931)

Used incorrect accessor string
This commit is contained in:
Oliver 2024-08-20 10:01:18 +10:00 committed by GitHub
parent 0c30f7cc99
commit 6591286e27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,12 +168,12 @@ export default function BuildLineTable({
render: (record: any) => PartColumn(record.part_detail) render: (record: any) => PartColumn(record.part_detail)
}, },
{ {
accessor: 'record.part_detail.IPN', accessor: 'part_detail.IPN',
sortable: false, sortable: false,
title: t`IPN` title: t`IPN`
}, },
{ {
accessor: 'record.part_detail.description', accessor: 'part_detail.description',
sortable: false, sortable: false,
title: t`Description` title: t`Description`
}, },