diff --git a/app/src/plugins/tm@modal/blocker/z-blocker-modal.vue b/app/src/plugins/tm@modal/blocker/z-blocker-modal.vue index 5879ce9..822f09f 100644 --- a/app/src/plugins/tm@modal/blocker/z-blocker-modal.vue +++ b/app/src/plugins/tm@modal/blocker/z-blocker-modal.vue @@ -167,10 +167,9 @@ export default { if (this.blocker.id) await this._edit() else - await this._create() + await this.$axios.post_auth('v1/blockers', this.blocker) - this.close() - this.$router.push({ name: 'Dashboard - Tasks' }) + this.closeModal() } catch (error) { this.$toast(error) }