Corrected Archived in displayProjectsInPhases.vue

This commit is contained in:
2025-02-19 13:08:34 +01:00
parent 7c64447c9d
commit e8263a8bb5

View File

@@ -3,7 +3,7 @@
const phasesCounter = ref({}) const phasesCounter = ref({})
const setupPage = async () => { const setupPage = async () => {
const projects = await useSupabaseSelect("projects") const projects = (await useSupabaseSelect("projects")).filter(i => !i.archived)
projects.forEach(project => { projects.forEach(project => {
if(project.phases && project.phases.length > 0){ if(project.phases && project.phases.length > 0){