This commit is contained in:
romankko2 committed 2023-08-07 17:47:20 +02:00
1 parent bed6793b8b
commit b02a8c734d
18 files changed
+95 -23

No files matched your search

@@ -4,7 +4,7 @@
<div class="d-flex justify-space-between align-center">
<h1>Ste si istý, že chcete {{ subtask.is_finished ? 'znovu otvoriť' : 'dokončiť' }} task, z mastertasku <b>{{ subtask?.master_task?.name || subtask.master_task }}</b>?</h1>
<v-icon
@click.stop="visible = false"
@click.stop="closeModal()"
icon="mdi-close"
size="large"
></v-icon>
@@ -18,7 +18,10 @@
</template>
<script>
import modalMixin from '@/plugins/tm@modal/_mixins/modal.mixin'
export default {
mixins: [ modalMixin ],
emits: ['close', 'on-subtask-edited'],
data() {
@@ -47,6 +50,10 @@ export default {
} catch (error) {
this.$toast.error(error)
}
},
closeModal() {
this.visible = false
}
}
}