diff options
Diffstat (limited to 'client/src/app/shared')
-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 => { |