front > menu > current projects : add skeleton class while loading

This commit is contained in:
isUnknown 2025-05-14 13:45:59 +02:00
parent 6b31d89e1d
commit 11d41e242d

View file

@ -57,9 +57,9 @@
>
</li>
</ul>
<details v-if="currentProjects.length" open>
<details :class="{ skeleton: !currentProjects.length }" open>
<summary>Projets en cours</summary>
<ul>
<ul v-if="currentProjects.length">
<li
v-for="project in currentProjects"
:class="{ active: isCurrent(project) }"