Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

refactor(community): drop the last hardcoded notif-display literal in layout mutedChannels (#5 T1 follow-up)

Melly4948f76c2455
diff --git a/src/web/src/app/c/channels/layout.tsx b/src/web/src/app/c/channels/layout.tsx
index 052b298f7..c6c3df5ec 100644
--- a/src/web/src/app/c/channels/layout.tsx
+++ b/src/web/src/app/c/channels/layout.tsx
@@ -282,7 +282,7 @@ export default function ServerLayout({ children }: { children: ReactNode }) {
const mutedChannels = useMemo(
() => Object.fromEntries(
- Object.entries(channelNotif).map(([k, v]) => [k, v === "Nothing"])
+ Object.entries(channelNotif).map(([k, v]) => [k, v === notifLevelDisplay("nothing")])
),
[channelNotif]
)