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

@ -4,7 +4,7 @@ import { ref, computed } from 'vue';
export const useProjectsStore = defineStore('projects', () => {
const isProjectsLoading = ref(true);
const projects = ref([]);
const projects = ref(null);
const currentProjects = computed(() => {
return projects.value