[PUI] Importer fixes (#8186)

* Fix status display

* Fix column labelling
This commit is contained in:
Oliver authored and GitHub committed 2024-09-26 09:29:23 +10:00
1 parent 47f6e154ee
commit 752b33177b
2 files changed
+2 -2

No files matched your search

@@ -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) => (