diff --git a/src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.html b/src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.html index ddb721d21f..569c099f3f 100644 --- a/src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.html +++ b/src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.html @@ -22,9 +22,12 @@ diff --git a/src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.ts b/src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.ts index 708d6fef2d..754f391e01 100644 --- a/src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.ts +++ b/src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.ts @@ -63,6 +63,7 @@ export class DashboardListWidgetComponent /** optional tooltip to explain detailed meaning of this widget / statistic */ @Input() explanation: string; @Input() headline: string; + @Input() paginationPageSize: number = 5; // Default to 5 entries per page /** * array of items to be displayed in paginated widget table. diff --git a/src/app/features/dashboard-widgets/entity-count-dashboard-widget/entity-count-dashboard/entity-count-dashboard.component.html b/src/app/features/dashboard-widgets/entity-count-dashboard-widget/entity-count-dashboard/entity-count-dashboard.component.html index fd7a67f9ef..81b163166e 100644 --- a/src/app/features/dashboard-widgets/entity-count-dashboard-widget/entity-count-dashboard/entity-count-dashboard.component.html +++ b/src/app/features/dashboard-widgets/entity-count-dashboard-widget/entity-count-dashboard/entity-count-dashboard.component.html @@ -4,8 +4,17 @@ [title]="totalEntities" [subtitle]="label" [entries]="entityGroupCounts[groupBy[currentGroupIndex]]" + [paginationPageSize]="4" > -
+
+
+
= ( export const Primary = { args: { entityType: "TestEntity", - groupBy: ["category", "other"], + groupBy: ["other"], }, };