fix: Make it always 10 nulls long instead of 9
All checks were successful
Remote Deploy / deploy (push) Successful in 5s
All checks were successful
Remote Deploy / deploy (push) Successful in 5s
This commit is contained in:
@@ -167,7 +167,7 @@ function buildLessonArray(row, ignoreAddress) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const normalized = Array.from(lessons, (x) => (x === undefined ? null : x));
|
const normalized = Array.from(lessons, (x) => (x === undefined ? null : x));
|
||||||
while (normalized.length < 10) normalized.push(null);
|
while (normalized.length < 11) normalized.push(null);
|
||||||
|
|
||||||
return normalized.slice(1, 11);
|
return normalized.slice(1, 11);
|
||||||
}
|
}
|
||||||
@@ -298,4 +298,4 @@ function formatNowTime() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
//parseV3("db/current.xlsx")
|
parseV3("db/current.xlsx")
|
||||||
|
|||||||
Reference in New Issue
Block a user