fix(projects): don't suggest to create a new task in an empty filter

This commit is contained in:
kolaente 2023-08-24 11:32:28 +02:00
parent 6cbbe17bd8
commit 58a1f46668
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
<nothing v-if="ctaVisible && tasks.length === 0 && !loading">
{{ $t('project.list.empty') }}
<ButtonLink @click="focusNewTaskInput()">
<ButtonLink @click="focusNewTaskInput()" v-if="project.id > 0">
{{ $t('project.list.newTaskCta') }}
</ButtonLink>
</nothing>