1
0

chore: Some minor fixes
All checks were successful
Remote Deploy / deploy (push) Successful in 5s

This commit is contained in:
2026-02-09 15:55:40 +01:00
parent 5e5e01e9cb
commit 0c4ca11d7f

View File

@@ -209,15 +209,14 @@ function extractTakesPlace(sheet) {
const nextCell = sheet.getCell(`B${i}`);
if (nextCell.isMerged) {
const cell = nextCell.master
str += `\n${cell.value.trim()}`
str += `\n${cell.master?.value?.trim() || ""}`
i++;
continue;
}
const tryCells = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K"];
const threshold = 20;
let con = false;
for (const cellTest of tryCells) {
const cellTry = sheet.getCell(`${cellTest}${i}`)
@@ -226,11 +225,16 @@ function extractTakesPlace(sheet) {
if (cellValue.length >= threshold) {
str += `\n${cellValue}`;
i++;
continue;
con = true;
break;
}
}
break;
if (con) {
continue;
} else {
break;
}
}
return str.trim();
@@ -318,4 +322,4 @@ function formatNowTime() {
);
}
parseV3("db/current.xlsx")
//parseV3("db/current.xlsx")