diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-16 14:18:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-16 14:18:50 +0100 |
commit | ddca2576997e2769d8cc37bbfe3098591add13dd (patch) | |
tree | 476a9d1a590da7e6bcb09325b4652acdad324bb0 | |
parent | c5ac9fe7c164741b2497282eac9b968f222fa151 (diff) | |
download | PeerTube-ddca2576997e2769d8cc37bbfe3098591add13dd.tar.gz PeerTube-ddca2576997e2769d8cc37bbfe3098591add13dd.tar.zst PeerTube-ddca2576997e2769d8cc37bbfe3098591add13dd.zip |
Don't display max duration if disabled
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html index 2ec825978..136048455 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html +++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html | |||
@@ -27,7 +27,7 @@ | |||
27 | {{ error }} | 27 | {{ error }} |
28 | </div> | 28 | </div> |
29 | 29 | ||
30 | <div class="alert alert-info" i18n *ngIf="isInUpdateForm && getMaxLiveDuration()"> | 30 | <div class="alert alert-info" i18n *ngIf="isInUpdateForm && getMaxLiveDuration() >= 0"> |
31 | Max live duration is {{ getMaxLiveDuration() | myDurationFormatter }}. | 31 | Max live duration is {{ getMaxLiveDuration() | myDurationFormatter }}. |
32 | If your live reaches this limit, it will be automatically terminated. | 32 | If your live reaches this limit, it will be automatically terminated. |
33 | </div> | 33 | </div> |