diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-21 10:54:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-21 10:54:38 +0200 |
commit | 8c6781e95641fcb3d4a747ba4a37ef8efb1ad1bc (patch) | |
tree | 67e2c24151975077c038b999a972ec8bff3cc820 /client/src/app/shared/video/videos-selection.component.html | |
parent | 4550872bcc8f9ef46183463c7b7b74a90cb6d17c (diff) | |
download | PeerTube-8c6781e95641fcb3d4a747ba4a37ef8efb1ad1bc.tar.gz PeerTube-8c6781e95641fcb3d4a747ba4a37ef8efb1ad1bc.tar.zst PeerTube-8c6781e95641fcb3d4a747ba4a37ef8efb1ad1bc.zip |
Fix pagination in my videos page
Diffstat (limited to 'client/src/app/shared/video/videos-selection.component.html')
-rw-r--r-- | client/src/app/shared/video/videos-selection.component.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/video/videos-selection.component.html b/client/src/app/shared/video/videos-selection.component.html index 53809b6fd..120c168cd 100644 --- a/client/src/app/shared/video/videos-selection.component.html +++ b/client/src/app/shared/video/videos-selection.component.html | |||
@@ -1,7 +1,8 @@ | |||
1 | <div class="no-results" i18n *ngIf="pagination.totalItems === 0">No results.</div> | 1 | <div class="no-results" i18n *ngIf="pagination.totalItems === 0">No results.</div> |
2 | 2 | ||
3 | <div myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" class="videos"> | 3 | <div myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" class="videos"> |
4 | <div class="video" *ngFor="let video of videos; let i = index"> | 4 | <div class="video" *ngFor="let video of videos; let i = index; trackBy: videoById"> |
5 | |||
5 | <div class="checkbox-container"> | 6 | <div class="checkbox-container"> |
6 | <my-peertube-checkbox [inputName]="'video-check-' + video.id" [(ngModel)]="_selection[video.id]"></my-peertube-checkbox> | 7 | <my-peertube-checkbox [inputName]="'video-check-' + video.id" [(ngModel)]="_selection[video.id]"></my-peertube-checkbox> |
7 | </div> | 8 | </div> |