From 9ca0f688e9e8558233f1a538b96a43da44e35353 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Aug 2022 10:39:40 +0200 Subject: Add channel hooks --- client/src/app/shared/shared-video-miniature/videos-list.component.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/app/shared/shared-video-miniature') 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 { @Input() disabled = false @Output() filtersChanged = new EventEmitter() + @Output() videosLoaded = new EventEmitter() videos: Video[] = [] filters: VideoFilters @@ -241,6 +242,7 @@ export class VideosListComponent implements OnInit, OnChanges, OnDestroy { if (this.groupByDate) this.buildGroupedDateLabels() this.onDataSubject.next(data) + this.videosLoaded.emit(this.videos) }, error: err => { -- cgit v1.2.3