diff --git a/src/components/Navigation/AddFolderModal.vue b/src/components/Navigation/AddFolderModal.vue index d31369809af7274bae181ad8b15917f35d5a800b..99ba24395e0ad6d5c125ba440a0d7c3f73898d41 100644 --- a/src/components/Navigation/AddFolderModal.vue +++ b/src/components/Navigation/AddFolderModal.vue @@ -92,6 +92,7 @@ export default { ...mapMutations('notifications', ['notify']), async addFolder () { if (this.loading || !this.canWrite(this.corpus) || !this.typeSlug || !this.name) return + this.loading = true try { const folder = await this.$store.dispatch('elements/create', { corpus: this.corpusId,