This commit is contained in:
@@ -92,14 +92,14 @@ export default async function parseThisShit(downloadedFilePath) {
|
||||
try {
|
||||
const regex = /^úklid\s+(?:\d+\s+)?[A-Za-z]{2}$/
|
||||
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
|
||||
}
|
||||
} catch {}
|
||||
|
||||
if (d) {
|
||||
let text = cell.text;
|
||||
if (cell.fill.fgColor?.argb == "FFFFFF00") {
|
||||
if (cell.fill?.fgColor?.argb == "FFFFFF00") {
|
||||
text += "\n(bude upřesněno)";
|
||||
}
|
||||
final2[parsedKey] = text || ""
|
||||
|
||||
Reference in New Issue
Block a user