This commit is contained in:
romankko2 committed 2023-01-11 12:17:56 +01:00
commit 8d49ad7122
10 files changed
+476 -168

No files matched your search

@@ -44,6 +44,7 @@ export default {
await this.$axios.post(`v1/tasks/${task.id}`, task)
this.show = false
this.$emit('completeTask', task.id)
} catch (error) {
this.$toast.error(error)
}
@@ -39,6 +39,7 @@ export default {
try {
await this.$axios.delete(`v1/tasks/${this.task.id}`)
this.show = false
this.$emit('deleteTask', this.task.id)
} catch (error) {
this.$toast.error(error)
}