fix(project): always use the appropriate color for task estimate during deletion dialoge
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2024-01-20 23:54:03 +01:00
parent 92f7d9ded5
commit af7ca8ad8f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 7 deletions

View File

@ -10,14 +10,12 @@
{{ $t('project.delete.text1') }}
</p>
<p>
<strong v-if="totalTasks !== null" class="has-text-white">
{{
totalTasks > 0 ? $t('project.delete.tasksToDelete', {count: totalTasks}) : $t('project.delete.noTasksToDelete')
}}
</strong>
<Loading v-else class="is-loading-small" variant="default"/>
<p class="has-text-weight-bold" v-if="totalTasks !== null">
{{
totalTasks > 0 ? $t('project.delete.tasksToDelete', {count: totalTasks}) : $t('project.delete.noTasksToDelete')
}}
</p>
<Loading v-else class="is-loading-small" variant="default"/>
<p>
{{ $t('misc.cannotBeUndone') }}