From 975b1935b810f8102ade8ca4fd9015181172f1ea Mon Sep 17 00:00:00 2001 From: gqcorneby <185756521+gqcorneby@users.noreply.github.com> Date: Tue, 7 Apr 2026 14:25:04 +0800 Subject: [PATCH] ignore empty string --- src/domain/helpers/ExcelReader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/helpers/ExcelReader.ts b/src/domain/helpers/ExcelReader.ts index f0ace651..9b848698 100644 --- a/src/domain/helpers/ExcelReader.ts +++ b/src/domain/helpers/ExcelReader.ts @@ -137,7 +137,7 @@ export class ExcelReader { const values = await promiseMap(cells, async cell => { const value = cell ? await this.readCellValue(template, cell) : undefined; const optionId = await this.excelRepository.readCell(template.id, cell, { formula: true }); - if (!isDefined(value)) return undefined; + if (!isDefined(value) || value === "") return undefined; const orgUnit = await this.readCellValue(template, dataSource.orgUnit, cell);