This commit is contained in:
lain 2020-06-08 18:26:16 +02:00
parent e45f7fe877
commit fbc4889ece

View file

@ -39,7 +39,7 @@ const mediaUpload = {
self.decreaseUploadCount() self.decreaseUploadCount()
}) })
}, },
decreaseUploadCount() { decreaseUploadCount () {
this.uploadCount-- this.uploadCount--
if (this.uploadCount === 0) { if (this.uploadCount === 0) {
this.$emit('all-uploaded') this.$emit('all-uploaded')