This commit is contained in:
romankko2 committed 2023-09-01 17:25:18 +02:00
1 parent 622b6ea45b
commit 8972b538ea
3 files changed
+28 -9

No files matched your search

@@ -39,7 +39,7 @@ export default {
async complete() {
try {
const tempMastertask = {...this.mastertask, is_finished: this.mastertask.is_finished ? 0 : 1, duration: this.mastertask.duration }
const tempMastertask = {...this.mastertask, is_finished: this.mastertask.is_finished ? 0 : 1 }
const { mastertask } = await this.$axios.put_auth(`v1/mastertasks/${tempMastertask.id}`, tempMastertask)
this.visible = false