This commit is contained in:
Emily
2024-10-07 15:26:57 +02:00
parent c2846ca595
commit b27cacf4e6
50 changed files with 512 additions and 583 deletions

View File

@@ -4,13 +4,12 @@ import type { TProject } from '@schema/ProjectSchema';
const { user } = useLoggedUser()
const { projectList, actions, project } = useProject();
const { data: guestProjects } = useGuestProjectsList()
const { projectList, guestProjectList, actions, project } = useProject();
const selectorProjects = computed(() => {
const result: TProject[] = [];
if (projectList.value) result.push(...projectList.value);
if (guestProjects.value) result.push(...guestProjects.value);
if (guestProjectList.value) result.push(...guestProjectList.value);
return result;
});