project creation request notification working
This commit is contained in:
parent
c750001a2c
commit
c75c5e1d8a
7 changed files with 93 additions and 13 deletions
|
|
@ -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,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue