1
0

fix: Again
All checks were successful
Remote Deploy / deploy (push) Successful in 4s

This commit is contained in:
2025-09-07 20:18:43 +02:00
parent cd66c0938f
commit b600fe2669

View File

@@ -92,14 +92,14 @@ export default async function parseThisShit(downloadedFilePath) {
try { try {
const regex = /^úklid\s+(?:\d+\s+)?[A-Za-z]{2}$/ const regex = /^úklid\s+(?:\d+\s+)?[A-Za-z]{2}$/
const cellText = cell.text || "" const cellText = cell.text || ""
if (regex.test(cellText.trim()) || cellText.trim().length == 0 || cell.fill.fgColor === undefined) { if (regex.test(cellText.trim()) || cellText.trim().length == 0 || cell.fill?.fgColor === undefined) {
d = false d = false
} }
} catch {} } catch {}
if (d) { if (d) {
let text = cell.text; let text = cell.text;
if (cell.fill.fgColor?.argb == "FFFFFF00") { if (cell.fill?.fgColor?.argb == "FFFFFF00") {
text += "\n(bude upřesněno)"; text += "\n(bude upřesněno)";
} }
final2[parsedKey] = text || "" final2[parsedKey] = text || ""