front > menu : disable skeleton if 0 projects

This commit is contained in:
isUnknown 2025-09-03 11:18:51 +02:00
parent d8fe9ad13a
commit 5b1291b400
3 changed files with 110 additions and 28 deletions

View file

@ -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) }"