[quill editor, detail modals, ongoing & unscheduled modals, review, download files]

This commit is contained in:
romankko2 committed 2023-01-24 23:01:12 +01:00
1 parent 33dfb2bd6f
commit 65adc7e3cf
16 files changed
+567 -242

No files matched your search

@@ -3,8 +3,7 @@
<v-card>
<div class="d-flex justify-space-between align-center">
<h1>
Ste si istý, že chcete zmazať tím <b>{{ team.name }}</b
>?
Ste si istý, že chcete zmazať tím <b>{{ team.name }}</b>?
</h1>
<v-icon @click.stop="visible = false" icon="mdi-close" size="large"></v-icon>
</div>
@@ -25,7 +24,7 @@ export default {
return {
visible: false,
team: null,
};
}
},
methods: {
@@ -37,13 +36,12 @@ export default {
async deleteTeam() {
try {
await this.$axios.delete(`v1/teams/${this.team.id}`)
this.visible = false
this.$emit('deleted', this.team)
} catch (error) {
this.$toast.error(error)
}
},
},
};
}
}
}
</script>