front > menu : disable skeleton if 0 projects
This commit is contained in:
parent
d8fe9ad13a
commit
5b1291b400
3 changed files with 110 additions and 28 deletions
|
|
@ -57,9 +57,9 @@
|
|||
>
|
||||
</li>
|
||||
</ul>
|
||||
<details :class="{ skeleton: !currentProjects.length }" open>
|
||||
<details :class="{ skeleton: !currentProjects }" open>
|
||||
<summary>Projets en cours</summary>
|
||||
<ul v-if="currentProjects.length">
|
||||
<ul v-if="currentProjects.length > 0">
|
||||
<li
|
||||
v-for="project in currentProjects"
|
||||
:class="{ active: isCurrent(project) }"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue