From 3011268993362fcb30e0fd51b443906eba08bd6f Mon Sep 17 00:00:00 2001 From: Arshil Vahora <70322256+ARSHIL1804@users.noreply.github.com> Date: Wed, 13 Sep 2023 13:18:56 +0530 Subject: [PATCH] fix(console): initial project list size * fix: one item menus height issue Closes #6140 * fix : initial project list size --------- Co-authored-by: Max Peintner --- .../app/pages/projects/project-list/project-list.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/console/src/app/pages/projects/project-list/project-list.component.ts b/console/src/app/pages/projects/project-list/project-list.component.ts index 8036549ee7..137432bb5b 100644 --- a/console/src/app/pages/projects/project-list/project-list.component.ts +++ b/console/src/app/pages/projects/project-list/project-list.component.ts @@ -60,6 +60,7 @@ export class ProjectListComponent implements OnInit, OnDestroy { public ProjectState: any = ProjectState; public ProjectType: any = ProjectType; private destroy$: Subject = new Subject(); + public INITIAL_PAGE_SIZE: number = 20; constructor( public translate: TranslateService, @@ -84,7 +85,7 @@ export class ProjectListComponent implements OnInit, OnDestroy { break; } - this.getData(type); + this.getData(type, this.INITIAL_PAGE_SIZE, 0); }); }