11.6 Conditionally Hide Sections

This commit is contained in:
Fredrick W Warren 2021-02-10 11:02:13 -08:00
parent d16c79dd1e
commit cfb3cf78cd
3 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,6 @@
<div class="q-mt-lg">
<list-header bgColor="bg-green-4">Completed</list-header>
<q-list
v-if="Object.keys(tasksCompleted).length"
separator
bordered>

View File

@ -2,7 +2,6 @@
<div>
<list-header bgColor="bg-orange-4">Todo</list-header>
<q-list
v-if="Object.keys(tasksTodo).length"
separator
bordered>

View File

@ -2,9 +2,11 @@
<q-page class="q-pa-md">
<tasks-todo
v-if="Object.keys(tasksTodo).length"
:tasksTodo="tasksTodo" />
<tasks-completed
v-if="Object.keys(tasksCompleted).length"
:tasksCompleted="tasksCompleted" />
<div class="absolute-bottom text-center q-mb-lg">