From 0ebdd4f81ded83310abde4796b85d2ec298704c6 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Tue, 19 Jul 2022 11:40:58 +0200 Subject: [PATCH] Use id as fileId in space resource entities --- .../bugfix-personal-shares-in-project-space | 6 ++++++ .../components/SideBar/Shares/FileLinks.vue | 18 ------------------ .../components/SideBar/Shares/SharesPanel.vue | 6 +++--- .../web-app-files/src/helpers/resources.ts | 2 +- .../services/folder/spaces/loaderProject.ts | 3 ++- 5 files changed, 12 insertions(+), 23 deletions(-) create mode 100644 changelog/unreleased/bugfix-personal-shares-in-project-space diff --git a/changelog/unreleased/bugfix-personal-shares-in-project-space b/changelog/unreleased/bugfix-personal-shares-in-project-space new file mode 100644 index 00000000000..267e1f7ab85 --- /dev/null +++ b/changelog/unreleased/bugfix-personal-shares-in-project-space @@ -0,0 +1,6 @@ +Bugfix: Personal shares leaked into project space + +Due to a bug in how we handle spaces as resources internally we loaded personal shares when listing project space shares. + +https://github.com/owncloud/web/issues/7268 +https://github.com/owncloud/web/pull/7294 diff --git a/packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue b/packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue index d0518f8932c..408ad587e76 100644 --- a/packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue +++ b/packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue @@ -106,7 +106,6 @@