Skip to content

Commit

Permalink
fix: Add 'added_groups' key when creating a workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
zak39 committed Dec 16, 2024
1 parent 604b5c6 commit 584eb51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Space/SpaceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public function create(string $spacename): array {
$newSpaceManagerGroup,
$newSpaceUsersGroup
]),
'added_groups' => (object)[],
'quota' => $groupfolder['quota'],
'size' => $groupfolder['size'],
'acl' => $groupfolder['acl'],
Expand Down
1 change: 1 addition & 0 deletions src/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 584eb51

Please sign in to comment.