diff --git a/src/features/import/components/Configure/Mapping/MappingRow.tsx b/src/features/import/components/Configure/Mapping/MappingRow.tsx index 0428ee54a3..256f6293f4 100644 --- a/src/features/import/components/Configure/Mapping/MappingRow.tsx +++ b/src/features/import/components/Configure/Mapping/MappingRow.tsx @@ -89,7 +89,13 @@ const MappingRow: FC = ({ borderRadius={2} padding={1} > - {column.title} + + {column.title + ? column.title + : messages.configuration.mapping.defaultColumnHeader({ + columnIndex: column.id, + })} + diff --git a/src/features/import/store.ts b/src/features/import/store.ts index 77668c4a0b..564d4d3621 100644 --- a/src/features/import/store.ts +++ b/src/features/import/store.ts @@ -46,12 +46,7 @@ const importSlice = createSlice({ if (sheet.firstRowIsHeaders && cellValue !== null) { column.title = cellValue as string; } else { - column.title = 'Test ' + cellIndex + 1; - /* messages.configuration.mapping.defaultColumnHeader( - { - columnIndex: cellIndex + 1, - } - ); */ + column.title = ''; column.data.push(cellValue); } } else {