fix: project sidebar favorite list logic updated (#3842)

This commit is contained in:
Anmol Singh Bhatia 2024-02-29 17:19:13 +05:30 committed by GitHub
parent d1087820f6
commit 92e994990c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}