diff options
Diffstat (limited to 'client/src/app/videos/video-list/video-list.component.html')
-rw-r--r-- | client/src/app/videos/video-list/video-list.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/video-list/video-list.component.html b/client/src/app/videos/video-list/video-list.component.html index 72d5512a6..f80592279 100644 --- a/client/src/app/videos/video-list/video-list.component.html +++ b/client/src/app/videos/video-list/video-list.component.html | |||
@@ -22,7 +22,7 @@ | |||
22 | </my-video-miniature> | 22 | </my-video-miniature> |
23 | </div> | 23 | </div> |
24 | 24 | ||
25 | <pagination *ngIf="pagination.totalItems !== null" | 25 | <pagination *ngIf="pagination.totalItems !== null && pagination.totalItems !== 0" |
26 | [totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false" | 26 | [totalItems]="pagination.totalItems" [itemsPerPage]="pagination.itemsPerPage" [maxSize]="6" [boundaryLinks]="true" [rotate]="false" |
27 | [(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)" | 27 | [(ngModel)]="pagination.currentPage" (pageChanged)="onPageChanged($event)" |
28 | ></pagination> | 28 | ></pagination> |