project creation request notification working

This commit is contained in:
isUnknown 2025-01-23 16:16:51 +01:00
parent c750001a2c
commit c75c5e1d8a
7 changed files with 93 additions and 13 deletions

View file

@ -8,6 +8,9 @@ export const useProjectsStore = defineStore("projects", () => {
const currentProjects = computed(() => {
return projects.value.filter((project) => project.status === "listed");
});
const draftProjects = computed(() => {
return projects.value.filter((project) => project.status === "draft");
});
const archivedProjects = computed(() => {
return projects.value.filter((project) => project.status === "unlisted");
});
@ -23,5 +26,11 @@ export const useProjectsStore = defineStore("projects", () => {
return project;
}
return { projects, currentProjects, archivedProjects, getProjectByUuid };
return {
projects,
currentProjects,
archivedProjects,
draftProjects,
getProjectByUuid,
};
});