1
0

chore: export projects as array directly from projects store

This commit is contained in:
kolaente
2023-03-28 15:36:31 +02:00
parent 2bb7ff1803
commit e4379f0a22
3 changed files with 5 additions and 4 deletions

View File

@ -91,7 +91,7 @@ const showArchived = useStorage('showArchived', false)
const loading = computed(() => projectStore.isLoading)
const projects = computed(() => {
return Object.values(projectStore.projects).filter(project => showArchived.value
return projectStore.projectsArray.filter(project => showArchived.value
? true
: !project.isArchived,
)