mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-11 03:38:02 +00:00
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
This commit is contained in:
parent
200036f6a6
commit
88b3f68a1f
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@
|
|||
|
||||
$: pinnedItems = $settings?.pinnedMenuItems ?? DEFAULT_PINNED_ITEMS;
|
||||
|
||||
const isMenuItemVisible = (id) => {
|
||||
$: isMenuItemVisible = (id) => {
|
||||
switch (id) {
|
||||
case 'notes':
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue