|
|
@ -224,7 +224,6 @@ export default class CSVTemplateAdapter { |
|
|
|
const data = (row.data as [])[columnIdx] === '' ? null : (row.data as [])[columnIdx] |
|
|
|
const data = (row.data as [])[columnIdx] === '' ? null : (row.data as [])[columnIdx] |
|
|
|
if (column.uidt === UITypes.Checkbox) { |
|
|
|
if (column.uidt === UITypes.Checkbox) { |
|
|
|
rowData[column.column_name] = getCheckboxValue(data) |
|
|
|
rowData[column.column_name] = getCheckboxValue(data) |
|
|
|
rowData[column.column_name] = data |
|
|
|
|
|
|
|
} else if (column.uidt === UITypes.SingleSelect || column.uidt === UITypes.MultiSelect) { |
|
|
|
} else if (column.uidt === UITypes.SingleSelect || column.uidt === UITypes.MultiSelect) { |
|
|
|
rowData[column.column_name] = (data || '').toString().trim() || null |
|
|
|
rowData[column.column_name] = (data || '').toString().trim() || null |
|
|
|
} else { |
|
|
|
} else { |
|
|
|