From 3fba4b6bce69247b1d37f923894d8f44818a891c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 19 Nov 2020 16:52:45 +0100 Subject: Fix no history message --- client/src/app/core/rest/component-pagination.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/core') diff --git a/client/src/app/core/rest/component-pagination.model.ts b/client/src/app/core/rest/component-pagination.model.ts index bcb73ed0f..59d70c1e8 100644 --- a/client/src/app/core/rest/component-pagination.model.ts +++ b/client/src/app/core/rest/component-pagination.model.ts @@ -4,7 +4,7 @@ export interface ComponentPagination { totalItems: number } -export type ComponentPaginationLight = Omit +export type ComponentPaginationLight = Omit & { totalItems?: number } export function hasMoreItems (componentPagination: ComponentPagination) { // No results -- cgit v1.2.3