2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 03:56:43 +00:00

[PUI] Importer fixes (#8186)

* Fix status display

* Fix column labelling
This commit is contained in:
Oliver 2024-09-26 09:29:23 +10:00 committed by GitHub
parent 47f6e154ee
commit 752b33177b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ export default function ImporterDataSelector({
...session.mappedFields.map((column: any) => {
return {
accessor: column.field,
title: column.column ?? column.title,
title: column.label ?? column.column,
sortable: false,
switchable: true,
render: (row: any) => {

View File

@ -55,7 +55,7 @@ export default function ImportSesssionTable() {
accessor: 'model_type',
sortable: true
},
StatusColumn({ model: ModelType.importsession }),
StatusColumn({ model: ModelType.importsession, accessor: 'status' }),
{
accessor: 'data_file',
render: (record: any) => (