Reorganise the views and prepare summary
All checks were successful
Build and Deploy / build-and-push (push) Successful in 23s

This commit is contained in:
2026-03-26 22:29:06 +01:00
parent d9cf61ee74
commit f80b115cae
12 changed files with 1394 additions and 484 deletions

View File

@@ -47,6 +47,13 @@ export function normalizeDayPlan(day) {
const arr = normalizeSlotValue(day[s.id]);
if (arr.length > 0) out[s.id] = arr;
});
if (day._skipped && typeof day._skipped === 'object') {
const sk = {};
for (const k of Object.keys(day._skipped)) {
if (day._skipped[k] === true) sk[k] = true;
}
if (Object.keys(sk).length > 0) out._skipped = sk;
}
return out;
}