fix: transition error when deleting a task

This commit is contained in:
kolaente 2022-07-21 16:14:12 +02:00
parent ff48178051
commit 56147dc9fb
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -406,20 +406,18 @@
<created-updated :task="task" v-if="!canWrite && !shouldShowClosePopup"/> <created-updated :task="task" v-if="!canWrite && !shouldShowClosePopup"/>
</div> </div>
<transition name="modal"> <modal
<modal @close="showDeleteModal = false"
@close="showDeleteModal = false" @submit="deleteTask()"
@submit="deleteTask()" v-if="showDeleteModal"
v-if="showDeleteModal" >
> <template #header><span>{{ $t('task.detail.delete.header') }}</span></template>
<template #header><span>{{ $t('task.detail.delete.header') }}</span></template>
<template #text> <template #text>
<p>{{ $t('task.detail.delete.text1') }}<br/> <p>{{ $t('task.detail.delete.text1') }}<br/>
{{ $t('task.detail.delete.text2') }}</p> {{ $t('task.detail.delete.text2') }}</p>
</template> </template>
</modal> </modal>
</transition>
</div> </div>
</template> </template>