diff --git a/src/app/shared/components/paginator/paginator.component.html b/src/app/shared/components/paginator/paginator.component.html index 845651be1a..3a42639fb4 100644 --- a/src/app/shared/components/paginator/paginator.component.html +++ b/src/app/shared/components/paginator/paginator.component.html @@ -13,10 +13,11 @@ - - 8 - 12 - 16 - 20 - + + {{value}} + + diff --git a/src/app/shared/components/paginator/paginator.component.ts b/src/app/shared/components/paginator/paginator.component.ts index 4538ed59ca..23d0263e67 100644 --- a/src/app/shared/components/paginator/paginator.component.ts +++ b/src/app/shared/components/paginator/paginator.component.ts @@ -20,6 +20,7 @@ export class PaginatorComponent implements OnInit, OnChanges { carouselPageList: PaginationElement[] = []; totalPageAmount: number; + listOfValues: Array = [8, 12, 16, 20]; constructor() { } @@ -40,7 +41,7 @@ export class PaginatorComponent implements OnInit, OnChanges { } if (changes?.itemsPerPage) { if (!changes.itemsPerPage.isFirstChange()) { - this.ngOnInit(); + this.ngOnInit(); } } }