fix: prettier fix

This commit is contained in:
Pietro Tamburini 2024-04-29 16:02:58 +02:00
parent 27350f27ba
commit 8ab5c35a3d
No known key found for this signature in database
GPG Key ID: FDD41DE51E2B1ABB

View File

@ -91,7 +91,7 @@ export default {
}, },
}, },
methods: { methods: {
...mapActions(useUploadStore, ["reset"]), // Mapping reset action from upload store ...mapActions(useUploadStore, ["reset"]), // Mapping reset action from upload store
toggle: function () { toggle: function () {
this.open = !this.open; this.open = !this.open;
}, },
@ -100,8 +100,8 @@ export default {
abortAllUploads(); abortAllUploads();
buttons.done("upload"); buttons.done("upload");
this.open = false; this.open = false;
this.reset(); // Resetting the upload store state this.reset(); // Resetting the upload store state
this.reload = true; // Trigger reload in the file store this.reload = true; // Trigger reload in the file store
} }
}, },
}, },