mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[master-task-modal employees]
This commit is contained in:
1 parent
dd05c715b5
commit
3096d137d9
168 files changed
+404
-1058
No files matched your search
@@ -37,8 +37,9 @@ export default {
|
||||
methods: {
|
||||
async deleteTask() {
|
||||
try {
|
||||
await this.$axios.delete(`v1/teams/${this.task.id}`)
|
||||
await this.$axios.delete(`v1/tasks/${this.task.id}`)
|
||||
this.show = false
|
||||
this.$emit('confirmDelete', this.task.id)
|
||||
} catch (error) {
|
||||
this.$toast.error(error)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user