Bugfixing

This commit is contained in:
Matej Glasnák committed 2023-02-16 07:56:31 +01:00
1 parent 1ef4bbd437
commit d6ad4ee350
3 files changed
+4 -3

No files matched your search

@@ -43,9 +43,9 @@ export default {
async deleteTask() {
try {
await this.$axios.delete(`v1/subtasks/${this.task.id}`)
// this.$emit('on-task-deleted', this.task)
this.$store.commit('tm/delete_subtask', this.task)
this.$emit('on-task-deleted', this.task)
this.closeModal()
} catch (error) {
this.$toast.error(error)