mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
.
This commit is contained in:
1 parent
3769e846e0
commit
65aecd6242
1 file changed
+2
-3
@@ -167,10 +167,9 @@ export default {
|
|||||||
if (this.blocker.id)
|
if (this.blocker.id)
|
||||||
await this._edit()
|
await this._edit()
|
||||||
else
|
else
|
||||||
await this._create()
|
await this.$axios.post_auth('v1/blockers', this.blocker)
|
||||||
|
|
||||||
this.close()
|
this.closeModal()
|
||||||
this.$router.push({ name: 'Dashboard - Tasks' })
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.$toast(error)
|
this.$toast(error)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user