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:
parent
47f6e154ee
commit
752b33177b
@ -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) => {
|
||||
|
@ -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) => (
|
||||
|
Loading…
x
Reference in New Issue
Block a user