From 88b3f68a1f318a8f5cd4131f9cf4e2e9997daece Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sat, 10 Oct 2026 17:48:55 +0200 Subject: [PATCH] fix: sidebar Workspace entry ignores group permission changes until reload (#32171) When an admin changed a group's permissions, members who had the app open saw Workspace show up or vanish in their user menu right away, but the sidebar kept its Workspace entry as it was until they reloaded the page. The Notes, Calendar and Automations entries in the sidebar had the same problem. The sidebar now follows the change right away, like the user menu. Fixes #32020 --- src/lib/components/layout/Sidebar.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index e17692bff3..e658dfa1d1 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -154,7 +154,7 @@ $: pinnedItems = $settings?.pinnedMenuItems ?? DEFAULT_PINNED_ITEMS; - const isMenuItemVisible = (id) => { + $: isMenuItemVisible = (id) => { switch (id) { case 'notes': return (