fix: marketplace paging
MODIFY
src/app/components/api-card-list/api-card-list.component.html
src/app/components/api-card-list/api-card-list.component.html
</div>
<div *ngIf="listType==='api'" class="align">
- <mat-paginator [length]="apiService.totalSize"
- [pageSize]="apiService.searchCriteria.paging.pageSize"
- [pageSizeOptions]="[4, 8, 12, 16]"
+ <mat-paginator [length]="totalSize"
+ [pageSize]="searchCriteria.paging.pageSize"
+ [pageSizeOptions]="[4, 8, 12, 16, totalSize]"
(page)="OnPageChange($event)">
</mat-paginator>
</div>

MODIFY
src/app/components/api-card-list/api-card-list.component.ts
src/app/components/api-card-list/api-card-list.component.ts
@@ -55,8 +55,6 @@ export class ApiCardListComponent implements OnInit {
this.apis = searchResult.beans;
this.totalSize = searchResult.totalSize;
});
-
-
}
getFeaturedApis(): void {

MODIFY
src/app/services/initializer/initializer.service.ts
src/app/services/initializer/initializer.service.ts
@@ -10,7 +10,7 @@ export class InitializerService {
/**
* The functions calls the ngx-translation service to load a language. If the language file can not be found the fallback language
- * is englisch (loads the file en.json).
+ * is English (loads the file en.json).
* @param language is the language identifier, e.g. 'en' for English or 'de' for German
*/
initLanguage(language: string): Promise<void> {

fix: marketplace paging