Terminplaner: Abschluss – kein "null" in abgeschalteten Einstellungen, Kommentar zu disabledAt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-03 08:17:44 +00:00
1 parent f134ed0032
commit 5bd8ee8457
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -62,7 +62,8 @@ export function render(panel, ctx) {
if (!ok || !sp.nochHier()) return
nachSpeichern(t, 'Einstellungen gespeichert.', 'form[aria-label="Einstellungen"] button[type="submit"]')
})
wurzel.replaceChildren(sp.konflikt, form, einbau(ctx), exportUndStatus(ctx))
// einbau() liefert null (abgeschaltet oder ohne Code): replaceChildren wuerde sonst den Text "null" zeigen
wurzel.replaceChildren(...[sp.konflikt, form, einbau(ctx), exportUndStatus(ctx)].filter(Boolean))
}
zeichne()
}