fix(console): initial project list size

* fix: one item menus height issue

Closes #6140

* fix : initial project list size

---------

Co-authored-by: Max Peintner <max@caos.ch>
This commit is contained in:
Arshil Vahora 2023-09-13 13:18:56 +05:30 committed by GitHub
parent c790715628
commit 3011268993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,7 @@ export class ProjectListComponent implements OnInit, OnDestroy {
public ProjectState: any = ProjectState;
public ProjectType: any = ProjectType;
private destroy$: Subject<void> = 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);
});
}