From a5cf76afa378aae81af2a9b0ce548e5d2582f832 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 Sep 2020 10:04:21 +0200 Subject: Add watch messages if live has not started --- client/src/app/+videos/+video-edit/video-update.resolver.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/+videos/+video-edit/video-update.resolver.ts') diff --git a/client/src/app/+videos/+video-edit/video-update.resolver.ts b/client/src/app/+videos/+video-edit/video-update.resolver.ts index 3a82324c3..b7ec22dd5 100644 --- a/client/src/app/+videos/+video-edit/video-update.resolver.ts +++ b/client/src/app/+videos/+video-edit/video-update.resolver.ts @@ -2,13 +2,13 @@ import { forkJoin, of } from 'rxjs' import { map, switchMap } from 'rxjs/operators' import { Injectable } from '@angular/core' import { ActivatedRouteSnapshot, Resolve } from '@angular/router' -import { VideoCaptionService, VideoChannelService, VideoDetails, VideoLiveService, VideoService } from '@app/shared/shared-main' +import { VideoCaptionService, VideoChannelService, VideoDetails, LiveVideoService, VideoService } from '@app/shared/shared-main' @Injectable() export class VideoUpdateResolver implements Resolve { constructor ( private videoService: VideoService, - private videoLiveService: VideoLiveService, + private liveVideoService: LiveVideoService, private videoChannelService: VideoChannelService, private videoCaptionService: VideoCaptionService ) { @@ -49,7 +49,7 @@ export class VideoUpdateResolver implements Resolve { ), video.isLive - ? this.videoLiveService.getVideoLive(video.id) + ? this.liveVideoService.getVideoLive(video.id) : of(undefined) ] } -- cgit v1.2.3