Skip to content

Commit

Permalink
Merge pull request #7428 from owncloud/spaces-in-runtime#2
Browse files Browse the repository at this point in the history
Fix wrong mutations/getters
  • Loading branch information
kulmann authored Aug 10, 2022
2 parents 6340a40 + 1344dd6 commit f1cbfa3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ export default defineComponent({
'setModalInputErrorMessage',
'hideModal'
]),
...mapMutations('Files', ['UPSERT_RESOURCE', 'UPDATE_SPACE_FIELD']),
...mapMutations('Files', ['UPSERT_RESOURCE']),
...mapMutations('runtime/spaces', ['UPDATE_SPACE_FIELD']),
...mapMutations(['SET_QUOTA']),
async onUploadComplete(result) {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-app-files/src/mixins/actions/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default {
methods: {
...mapActions('Files', ['removeFilesFromTrashbin']),
...mapActions(['showMessage']),
...mapMutations('Files', ['UPDATE_SPACE_FIELD']),
...mapMutations('runtime/spaces', ['UPDATE_SPACE_FIELD']),
...mapMutations(['SET_QUOTA']),

async $_restore_trigger({ resources }) {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-app-files/src/mixins/deleteResources.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default {
methods: {
...mapActions('Files', ['pushResourcesToDeleteList', 'removeFilesFromTrashbin', 'deleteFiles']),
...mapActions(['showMessage', 'toggleModalConfirmButton', 'hideModal', 'createModal']),
...mapMutations('Files', ['UPDATE_SPACE_FIELD']),
...mapMutations('runtime/spaces', ['UPDATE_SPACE_FIELD']),
...mapMutations(['SET_QUOTA']),

$_deleteResources_trashbin_deleteOp(resource) {
Expand Down

0 comments on commit f1cbfa3

Please sign in to comment.