X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-watch%2Fshared%2Finformation%2Fvideo-alert.component.ts;h=257d463b4710ae690370c4f77f5a76481dc577c9;hb=5196817c5d7cf86b35f3fa2cfe108ba283944482;hp=0072492ac5b81f4a156e8e8ae9e4086d20c04b68;hpb=0305db28c98fd6cf43a3c50ba92c76215e99d512;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts index 0072492ac..257d463b4 100644 --- a/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts +++ b/client/src/app/+videos/+video-watch/shared/information/video-alert.component.ts @@ -23,7 +23,7 @@ export class VideoAlertComponent { } hasVideoScheduledPublication () { - return this.video && this.video.scheduledUpdate !== undefined + return this.video?.scheduledUpdate !== undefined } isWaitingForLive () {