diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-08 15:59:05 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-08 15:59:05 +0200 |
commit | b51e5b74019bcd67d9adafd48c0cd79affe84892 (patch) | |
tree | e1d1a4d4cdbcdc268fe0b7e955f2e6c31d0d58d9 /client/src/app/shared/shared-video-miniature/videos-list.component.html | |
parent | efa3fef23ecf4e1c5289f8715de184c272ea49f7 (diff) | |
download | PeerTube-b51e5b74019bcd67d9adafd48c0cd79affe84892.tar.gz PeerTube-b51e5b74019bcd67d9adafd48c0cd79affe84892.tar.zst PeerTube-b51e5b74019bcd67d9adafd48c0cd79affe84892.zip |
Correctly disable infinite scroll for reuse
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/videos-list.component.html')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/videos-list.component.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-video-miniature/videos-list.component.html b/client/src/app/shared/shared-video-miniature/videos-list.component.html index 67933f177..2b554517f 100644 --- a/client/src/app/shared/shared-video-miniature/videos-list.component.html +++ b/client/src/app/shared/shared-video-miniature/videos-list.component.html | |||
@@ -40,7 +40,8 @@ | |||
40 | 40 | ||
41 | <div class="no-results" i18n *ngIf="hasDoneFirstQuery && videos.length === 0">No results.</div> | 41 | <div class="no-results" i18n *ngIf="hasDoneFirstQuery && videos.length === 0">No results.</div> |
42 | <div | 42 | <div |
43 | myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()" [setAngularState]="true" | 43 | myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()" |
44 | [setAngularState]="true" [parentDisabled]="disabled" | ||
44 | class="videos" [ngClass]="{ 'display-as-row': displayAsRow }" | 45 | class="videos" [ngClass]="{ 'display-as-row': displayAsRow }" |
45 | > | 46 | > |
46 | <ng-container *ngFor="let video of videos; trackBy: videoById;"> | 47 | <ng-container *ngFor="let video of videos; trackBy: videoById;"> |