From 584eb5188b4d1abc94b98bf756528c29747136dc Mon Sep 17 00:00:00 2001 From: zak39 Date: Mon, 16 Dec 2024 17:03:32 +0100 Subject: [PATCH] fix: Add 'added_groups' key when creating a workspace --- lib/Space/SpaceManager.php | 1 + src/LeftSidebar.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/Space/SpaceManager.php b/lib/Space/SpaceManager.php index 5303cfc6..c2d72ebe 100644 --- a/lib/Space/SpaceManager.php +++ b/lib/Space/SpaceManager.php @@ -140,6 +140,7 @@ public function create(string $spacename): array { $newSpaceManagerGroup, $newSpaceUsersGroup ]), + 'added_groups' => (object)[], 'quota' => $groupfolder['quota'], 'size' => $groupfolder['size'], 'acl' => $groupfolder['acl'], diff --git a/src/LeftSidebar.vue b/src/LeftSidebar.vue index 1e9775b4..d53bd33f 100644 --- a/src/LeftSidebar.vue +++ b/src/LeftSidebar.vue @@ -95,6 +95,7 @@ export default { this.$store.commit('addSpace', { color: workspace.color, groups: workspace.groups, + added_groups: workspace.added_groups, isOpen: false, id: workspace.id_space, groupfolderId: workspace.folder_id,