Skip to content

Commit ca654c5

Browse files
committed
fix filter for draft in my projects section in dashboard
1 parent dd046be commit ca654c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/social_platform/src/app/office/projects/dashboard/dashboard.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class DashboardProjectsComponent implements OnInit, OnDestroy {
2727
this.route.data.subscribe({
2828
next: ({ data: { all, my, subs } }) => {
2929
const allProjects = all.results.slice(0, 4);
30-
const myProjects = my.results.filter((project: Project) => !project.draft).slice(0, 4);
30+
const myProjects = my.results.slice(0, 4);
3131
const mySubs = subs.results.slice(0, 4);
3232
this.profileProjSubsIds = subs.results.map((project: Project) => project.id);
3333

0 commit comments

Comments
 (0)