diff --git a/AppImage/components/notification-settings.tsx b/AppImage/components/notification-settings.tsx index 77fe37f5..d25018ef 100644 --- a/AppImage/components/notification-settings.tsx +++ b/AppImage/components/notification-settings.tsx @@ -235,7 +235,7 @@ export function NotificationSettings() {
- {EVENT_CATEGORIES.map(cat => { + {EVENT_CATEGORIES.filter(cat => cat.key !== "other").map(cat => { const isEnabled = overrides.categories[cat.key] ?? true const isExpanded = expandedCategories.has(`${chName}.${cat.key}`) const eventsForGroup = evtByGroup[cat.key] || [] @@ -244,7 +244,7 @@ export function NotificationSettings() { ).length return ( -
+
{/* Category row -- entire block is clickable to expand/collapse */}
{ e.stopPropagation() if (!editMode) return @@ -321,7 +321,7 @@ export function NotificationSettings() { {eventsForGroup.map(evt => { const evtEnabled = overrides.events?.[evt.type] ?? evt.default_enabled return ( -
+
{evt.title} @@ -332,7 +332,7 @@ export function NotificationSettings() { disabled={!editMode} className={`relative w-9 h-[18px] shrink-0 rounded-full transition-colors ${ !editMode ? "opacity-50 cursor-not-allowed" : "cursor-pointer" - } ${evtEnabled ? "bg-blue-600" : "bg-muted-foreground/30"}`} + } ${evtEnabled ? "bg-blue-600" : "bg-muted-foreground/20 border border-muted-foreground/40"}`} onClick={() => { if (!editMode) return updateConfig(p => { @@ -788,7 +788,7 @@ matcher: proxmenux-pbs