From e0477015c4fe1115523ee05de0ac20a296c139df Mon Sep 17 00:00:00 2001 From: MacRimi Date: Mon, 2 Mar 2026 18:42:58 +0100 Subject: [PATCH] Update notification-settings.tsx --- AppImage/components/notification-settings.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 (