Skip to content

Commit

Permalink
Update quota after space + readme have been created (#7969)
Browse files Browse the repository at this point in the history
* Enter key submits form

* Fix unit tests

* Update space quota after creation

* Uncommit files that have been accidently commited

* Add changelog item
  • Loading branch information
Jan authored Nov 15, 2022
1 parent 8e86dcb commit fa45d5d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Space quota not displayed after creation

We've fixed a bug where the quota in the space details was not shown after space creation.

https://github.com/owncloud/web/pull/7969
https://github.com/owncloud/web/issues/7959
5 changes: 5 additions & 0 deletions packages/web-app-files/src/components/AppBar/CreateSpace.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ export default defineComponent({
field: 'spaceReadmeData',
value: updatedSpace.special.find((special) => special.specialFolder.name === 'readme')
})
this.UPDATE_RESOURCE_FIELD({
id: space.id,
field: 'spaceQuota',
value: updatedSpace.quota
})
} catch (error) {
console.error(error)
this.showMessage({
Expand Down

0 comments on commit fa45d5d

Please sign in to comment.