mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +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) => {
|
...session.mappedFields.map((column: any) => {
|
||||||
return {
|
return {
|
||||||
accessor: column.field,
|
accessor: column.field,
|
||||||
title: column.column ?? column.title,
|
title: column.label ?? column.column,
|
||||||
sortable: false,
|
sortable: false,
|
||||||
switchable: true,
|
switchable: true,
|
||||||
render: (row: any) => {
|
render: (row: any) => {
|
||||||
|
@ -55,7 +55,7 @@ export default function ImportSesssionTable() {
|
|||||||
accessor: 'model_type',
|
accessor: 'model_type',
|
||||||
sortable: true
|
sortable: true
|
||||||
},
|
},
|
||||||
StatusColumn({ model: ModelType.importsession }),
|
StatusColumn({ model: ModelType.importsession, accessor: 'status' }),
|
||||||
{
|
{
|
||||||
accessor: 'data_file',
|
accessor: 'data_file',
|
||||||
render: (record: any) => (
|
render: (record: any) => (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user