mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 11:56:41 +00:00
fix(nc-gui): fallback to row[i] if cellObj.w s not found
This commit is contained in:
@@ -217,7 +217,7 @@ export default class ExcelTemplateAdapter extends TemplateGenerator {
|
||||
r: rowIndex + columnNameRowExist,
|
||||
})
|
||||
const cellObj = ws[cellId]
|
||||
rowData[table.columns[i].column_name] = cellObj.w
|
||||
rowData[table.columns[i].column_name] = (cellObj && cellObj.w) || row[i]
|
||||
} else {
|
||||
if (table.columns[i].uidt === UITypes.Checkbox) {
|
||||
rowData[table.columns[i].column_name] = getCheckboxValue(row[i])
|
||||
|
||||
Reference in New Issue
Block a user