diff --git a/AppImage/components/notification-settings.tsx b/AppImage/components/notification-settings.tsx index a9cef89e..d8c66c8f 100644 --- a/AppImage/components/notification-settings.tsx +++ b/AppImage/components/notification-settings.tsx @@ -710,9 +710,9 @@ matcher: proxmenux-pbs {/* ── Channel Cards Grid ── */}
{CHANNEL_DEFS.map(ch => { - const channels: Record = config.channels - const chCfg = channels[ch.key] - const isEnabled = chCfg?.enabled || false + /* eslint-disable @typescript-eslint/no-explicit-any */ + const chConf = (config.channels || {})[ch.key] + const isEnabled = !!(chConf && chConf.enabled) const isSelected = selectedChannel === ch.key return (