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/+my-library/my-history/my-history.component.html | 2 +- client/src/app/core/rest/component-pagination.model.ts | 2 +- .../app/shared/shared-video-miniature/videos-selection.component.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/app/+my-library/my-history/my-history.component.html b/client/src/app/+my-library/my-history/my-history.component.html index 05e016e55..58b874ebf 100644 --- a/client/src/app/+my-library/my-history/my-history.component.html +++ b/client/src/app/+my-library/my-history/my-history.component.html @@ -16,7 +16,7 @@ -
You don't have any video history yet.
+
You don't have any video history yet.
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 diff --git a/client/src/app/shared/shared-video-miniature/videos-selection.component.html b/client/src/app/shared/shared-video-miniature/videos-selection.component.html index 44aa567b9..5f5593512 100644 --- a/client/src/app/shared/shared-video-miniature/videos-selection.component.html +++ b/client/src/app/shared/shared-video-miniature/videos-selection.component.html @@ -1,4 +1,4 @@ -
No results.
+
No results.
-- cgit v1.2.3