From 291d6c8728d7cab082e6cd1e8bae7e11042eb0bb Mon Sep 17 00:00:00 2001 From: amirahrari Date: Sat, 10 Oct 2026 19:27:49 +0330 Subject: [PATCH] fix: wait for the sidebar resource before rendering the shares panel On a fresh load of the Spaces page, the space's graph permissions are not loaded yet, so FileSideBar awaits them before setting the sidebar resource. The panels stay mounted under the loading overlay during that wait, so opening the members panel from a space tile rendered SpaceMembers with a null resource and crashed in canShare. Show the loader until the resource is set. Fixes #3574 --- .../src/components/SideBar/Shares/SharesPanel.vue | 8 +++++++- .../components/SideBar/Shares/SharesPanel.spec.ts | 13 ++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/packages/web-app-files/src/components/SideBar/Shares/SharesPanel.vue b/packages/web-app-files/src/components/SideBar/Shares/SharesPanel.vue index 8d1ec9890e7..9df1d35bf75 100644 --- a/packages/web-app-files/src/components/SideBar/Shares/SharesPanel.vue +++ b/packages/web-app-files/src/components/SideBar/Shares/SharesPanel.vue @@ -1,6 +1,6 @@