fix(projects): don't suggest to create a new task in an empty filter
This commit is contained in:
parent
6cbbe17bd8
commit
58a1f46668
@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
<nothing v-if="ctaVisible && tasks.length === 0 && !loading">
|
<nothing v-if="ctaVisible && tasks.length === 0 && !loading">
|
||||||
{{ $t('project.list.empty') }}
|
{{ $t('project.list.empty') }}
|
||||||
<ButtonLink @click="focusNewTaskInput()">
|
<ButtonLink @click="focusNewTaskInput()" v-if="project.id > 0">
|
||||||
{{ $t('project.list.newTaskCta') }}
|
{{ $t('project.list.newTaskCta') }}
|
||||||
</ButtonLink>
|
</ButtonLink>
|
||||||
</nothing>
|
</nothing>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user