Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/UploadEditor.vue18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/components/UploadEditor.vue b/src/components/UploadEditor.vue
index 2258ac787..59f694372 100644
--- a/src/components/UploadEditor.vue
+++ b/src/components/UploadEditor.vue
@@ -80,12 +80,6 @@ export default {
Plus,
},
- data() {
- return {
- modalDismissed: false,
- }
- },
-
computed: {
token() {
return this.$store.getters.getToken()
@@ -102,12 +96,8 @@ export default {
return []
},
- showUploadEditor() {
- return this.$store.getters.showUploadEditor
- },
-
showModal() {
- return this.showUploadEditor && !this.modalDismissed
+ return this.$store.getters.showUploadEditor
},
addMoreAriaLabel() {
@@ -121,10 +111,6 @@ export default {
this.focus()
}
},
-
- currentUploadId() {
- this.modalDismissed = false
- },
},
methods: {
@@ -136,12 +122,10 @@ export default {
handleDismiss() {
this.$store.dispatch('discardUpload', this.currentUploadId)
- this.modalDismissed = true
},
handleUpload() {
this.$store.dispatch('uploadFiles', this.currentUploadId)
- this.modalDismissed = true
},
/**
* Clicks the hidden file input when clicking the correspondent ActionButton,