From e21458e4537650f4827dce2bd0db7f4d5d9703b8 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia Date: Thu, 29 Feb 2024 16:48:45 +0530 Subject: [PATCH] fix: project sidebar favorite list logic updated --- web/store/project/project.store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/store/project/project.store.ts b/web/store/project/project.store.ts index c9aa826feae..176c3a3649f 100644 --- a/web/store/project/project.store.ts +++ b/web/store/project/project.store.ts @@ -148,7 +148,7 @@ export class ProjectStore implements IProjectStore { projects = sortBy(projects, "created_at"); const projectIds = projects - .filter((project) => project.workspace === currentWorkspace.id && project.is_favorite) + .filter((project) => project.workspace === currentWorkspace.id && project.is_member && project.is_favorite) .map((project) => project.id); return projectIds; }