Skip to content

Commit

Permalink
Fix file and folder upload postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Feb 17, 2022
1 parent f5f7dc3 commit 369118a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/web-app-files/src/components/AppBar/CreateAndUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,14 @@ export default {
...mapActions(['openFile', 'showMessage', 'createModal', 'setModalInputErrorMessage']),
...mapMutations('Files', ['UPSERT_RESOURCE']),
uploadSuccess() {
this.$emit('success')
uploadSuccess(args, file) {
this.$emit('success', args, file)
},
uploadError() {
this.$emit('error')
uploadError(error) {
this.$emit('error', error)
},
uploadProgress() {
this.$emit('progress')
uploadProgress(progress) {
this.$emit('progress', progress)
},
showCreateResourceModal(
Expand Down

0 comments on commit 369118a

Please sign in to comment.