mirror of https://github.com/Chocobozzz/PeerTube
Don't display max duration if disabled
parent
c5ac9fe7c1
commit
ddca257699
|
@ -27,7 +27,7 @@
|
||||||
{{ error }}
|
{{ error }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="alert alert-info" i18n *ngIf="isInUpdateForm && getMaxLiveDuration()">
|
<div class="alert alert-info" i18n *ngIf="isInUpdateForm && getMaxLiveDuration() >= 0">
|
||||||
Max live duration is {{ getMaxLiveDuration() | myDurationFormatter }}.
|
Max live duration is {{ getMaxLiveDuration() | myDurationFormatter }}.
|
||||||
If your live reaches this limit, it will be automatically terminated.
|
If your live reaches this limit, it will be automatically terminated.
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue