11.6 Conditionally Hide Sections
This commit is contained in:
parent
d16c79dd1e
commit
cfb3cf78cd
@ -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>
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
<div>
|
||||
<list-header bgColor="bg-orange-4">Todo</list-header>
|
||||
<q-list
|
||||
v-if="Object.keys(tasksTodo).length"
|
||||
separator
|
||||
bordered>
|
||||
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user