diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-29 15:55:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-10 16:08:28 +0200 |
commit | a1bd2b77d99cec5c27d38501f5f12f9dc339de17 (patch) | |
tree | 58b4666297e0b832a52f962541498af61319110a /client/src/app/shared | |
parent | 8ef866071f8109719e68647141d4c9e138438585 (diff) | |
download | PeerTube-a1bd2b77d99cec5c27d38501f5f12f9dc339de17.tar.gz PeerTube-a1bd2b77d99cec5c27d38501f5f12f9dc339de17.tar.zst PeerTube-a1bd2b77d99cec5c27d38501f5f12f9dc339de17.zip |
Remove webtorrent support from client
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/videos-list.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-video-miniature/videos-list.component.ts b/client/src/app/shared/shared-video-miniature/videos-list.component.ts index 45df0be38..14a5abd7a 100644 --- a/client/src/app/shared/shared-video-miniature/videos-list.component.ts +++ b/client/src/app/shared/shared-video-miniature/videos-list.component.ts | |||
@@ -241,7 +241,6 @@ export class VideosListComponent implements OnInit, OnChanges, OnDestroy { | |||
241 | } | 241 | } |
242 | 242 | ||
243 | reloadVideos () { | 243 | reloadVideos () { |
244 | console.log('reload') | ||
245 | this.pagination.currentPage = 1 | 244 | this.pagination.currentPage = 1 |
246 | this.loadMoreVideos(true) | 245 | this.loadMoreVideos(true) |
247 | } | 246 | } |
@@ -420,8 +419,9 @@ export class VideosListComponent implements OnInit, OnChanges, OnDestroy { | |||
420 | this.lastQueryLength = data.length | 419 | this.lastQueryLength = data.length |
421 | 420 | ||
422 | if (reset) this.videos = [] | 421 | if (reset) this.videos = [] |
422 | |||
423 | this.videos = this.videos.concat(data) | 423 | this.videos = this.videos.concat(data) |
424 | console.log('subscribe') | 424 | |
425 | if (this.groupByDate) this.buildGroupedDateLabels() | 425 | if (this.groupByDate) this.buildGroupedDateLabels() |
426 | 426 | ||
427 | this.onDataSubject.next(data) | 427 | this.onDataSubject.next(data) |