Skip to content

Commit

Permalink
fix: project sidebar favorite list logic updated (#3842)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolsinghbhatia committed Feb 29, 2024
1 parent d108782 commit 92e9949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/store/project/project.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 92e9949

Please sign in to comment.