diff --git a/src/app/shared/object-list/object-list.component.html b/src/app/shared/object-list/object-list.component.html index 8e0482b1f7..541a4794b0 100644 --- a/src/app/shared/object-list/object-list.component.html +++ b/src/app/shared/object-list/object-list.component.html @@ -16,23 +16,46 @@ (prev)="goPrev()" (next)="goNext()"> diff --git a/src/app/shared/object-list/object-list.component.ts b/src/app/shared/object-list/object-list.component.ts index 5161b75459..72bff54f59 100644 --- a/src/app/shared/object-list/object-list.component.ts +++ b/src/app/shared/object-list/object-list.component.ts @@ -76,6 +76,11 @@ export class ObjectListComponent { */ @Input() importConfig: { buttonLabel: string }; + /** + * If true the object list provided needs to be paginated using the `paginate` pipe + */ + @Input() listToPaginate = false; + /** * Whether or not the pagination should be rendered as simple previous and next buttons instead of the normal pagination */ diff --git a/src/app/shared/object-list/themed-object-list.component.ts b/src/app/shared/object-list/themed-object-list.component.ts index 4a04061a5c..9448ed5939 100644 --- a/src/app/shared/object-list/themed-object-list.component.ts +++ b/src/app/shared/object-list/themed-object-list.component.ts @@ -44,6 +44,11 @@ export class ThemedObjectListComponent extends ThemedComponent