fix: transition error when deleting a task
This commit is contained in:
parent
ff48178051
commit
56147dc9fb
1 changed files with 11 additions and 13 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue