[z-delete-masterTask-modal, spenTime formatted, addSubTask, style team in subTask detail]

This commit is contained in:
romankko2 committed 2023-02-02 19:14:50 +01:00
1 parent 5eea588984
commit 2c4299616d
8 files changed
+118 -71

No files matched your search

@@ -8,6 +8,7 @@
@click.stop="closeModal()"
icon="mdi-close"
size="large"
class="mb-15"
></v-icon>
</div>
<v-card-actions class="mt-10 d-flex justify-start align-center">
@@ -20,7 +21,7 @@
<script>
export default {
emits: ['deleted'],
emits: ['on-task-deleted'],
data() {
return {
@@ -42,7 +43,7 @@ export default {
async deleteTask() {
try {
await this.$axios.delete(`v1/tasks/${this.task.id}`)
this.$emit('deleted', this.task)
this.$emit('on-task-deleted', this.task)
this.closeModal()
} catch (error) {
this.$toast.error(error)