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:
1 parent
f134ed0032
commit
5bd8ee8457
2 files changed
+4
-3
No files matched your search
@@ -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()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user