mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
[Task] Delete fix
This commit is contained in:
1 parent
388466db98
commit
ef6369714b
35 files changed
+93
-79
No files matched your search
@@ -42,7 +42,7 @@ export default {
|
||||
|
||||
async deleteTask() {
|
||||
try {
|
||||
await this.$axios.delete(`v1/subtasks/${this.task.id}`)
|
||||
await this.$axios.delete_auth(`v1/subtasks/${this.task.id}`)
|
||||
|
||||
this.$store.commit('tm/delete_subtask', this.task)
|
||||
this.$emit('on-task-deleted', this.task)
|
||||
|
||||
Reference in new issue
Block a user