Adding message when there is no task

This commit is contained in:
Axel 2021-12-21 21:48:23 +01:00
parent e48daa0008
commit 22b6b9de57
2 changed files with 28 additions and 18 deletions

File diff suppressed because one or more lines are too long

View file

@ -4,6 +4,9 @@
Quick overview Quick overview
</h3> </h3>
<div class="block-content"> <div class="block-content">
<div
v-if="tasks.length > 0"
>
<div <div
v-for="group in tasks" v-for="group in tasks"
v-bind:key="group.id" v-bind:key="group.id"
@ -24,6 +27,13 @@
</div> </div>
<p class="spacer">&nbsp;</p> <p class="spacer">&nbsp;</p>
</div> </div>
<div
v-else
>
<center>Sorry, there is no task here.</center>
</div>
</div>
</div> </div>
</template> </template>