diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-03 10:39:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-03 10:39:40 +0200 |
commit | 9ca0f688e9e8558233f1a538b96a43da44e35353 (patch) | |
tree | 16370ffe97df1bfeef874ce71fa6bedff0b7496b /client/src/app/shared/shared-video-miniature | |
parent | 0b6f531653a7a24f82ad65564479a70a9326301a (diff) | |
download | PeerTube-9ca0f688e9e8558233f1a538b96a43da44e35353.tar.gz PeerTube-9ca0f688e9e8558233f1a538b96a43da44e35353.tar.zst PeerTube-9ca0f688e9e8558233f1a538b96a43da44e35353.zip |
Add channel hooks
Diffstat (limited to 'client/src/app/shared/shared-video-miniature')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/videos-list.component.ts | 2 |
1 files changed, 2 insertions, 0 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 508a189fd..d5cdd958e 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 | |||
@@ -76,6 +76,7 @@ export class VideosListComponent implements OnInit, OnChanges, OnDestroy { | |||
76 | @Input() disabled = false | 76 | @Input() disabled = false |
77 | 77 | ||
78 | @Output() filtersChanged = new EventEmitter<VideoFilters>() | 78 | @Output() filtersChanged = new EventEmitter<VideoFilters>() |
79 | @Output() videosLoaded = new EventEmitter<Video[]>() | ||
79 | 80 | ||
80 | videos: Video[] = [] | 81 | videos: Video[] = [] |
81 | filters: VideoFilters | 82 | filters: VideoFilters |
@@ -241,6 +242,7 @@ export class VideosListComponent implements OnInit, OnChanges, OnDestroy { | |||
241 | if (this.groupByDate) this.buildGroupedDateLabels() | 242 | if (this.groupByDate) this.buildGroupedDateLabels() |
242 | 243 | ||
243 | this.onDataSubject.next(data) | 244 | this.onDataSubject.next(data) |
245 | this.videosLoaded.emit(this.videos) | ||
244 | }, | 246 | }, |
245 | 247 | ||
246 | error: err => { | 248 | error: err => { |