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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue