mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: project sidebar favorite list logic updated (#3842)
This commit is contained in:
parent
d1087820f6
commit
92e994990c
@ -148,7 +148,7 @@ export class ProjectStore implements IProjectStore {
|
|||||||
projects = sortBy(projects, "created_at");
|
projects = sortBy(projects, "created_at");
|
||||||
|
|
||||||
const projectIds = projects
|
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);
|
.map((project) => project.id);
|
||||||
return projectIds;
|
return projectIds;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user