update dashboard + server

This commit is contained in:
Emily
2025-02-10 15:30:19 +01:00
parent 0292829805
commit abc485a9ef
26 changed files with 171 additions and 103 deletions

View File

@@ -5,7 +5,7 @@ import type { TProject } from '@schema/project/ProjectSchema';
const { user } = useLoggedUser()
const { projectList, guestProjectList, allProjectList, actions, project } = useProject();
const { setActiveDomain } = useDomain();
function isProjectMine(owner?: string) {
if (!owner) return false;
@@ -16,6 +16,7 @@ function isProjectMine(owner?: string) {
function onChange(e: TProject) {
actions.setActiveProject(e._id.toString());
setActiveDomain('ALL DOMAINS');
}
</script>