This commit is contained in:
@@ -176,12 +176,11 @@ export default async function parseV1V2(downloadedFilePath) {
|
||||
}
|
||||
})
|
||||
|
||||
let i = 0;
|
||||
const absenceRange = new Set(["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "L"])
|
||||
for (const absenceKeyCur of allAbsenceKeys) {
|
||||
if (i >= 10) {
|
||||
break; // stop once 10 items are added
|
||||
}
|
||||
i++;
|
||||
if (!absenceRange.has(absenceKeyCur.substring(0, 1))) {
|
||||
break;
|
||||
};
|
||||
|
||||
const cell = currentSheet.getCell(absenceKeyCur);
|
||||
const value = (cell.value || "").toString().trim();
|
||||
|
||||
Reference in New Issue
Block a user