Don't display max duration if disabled

pull/3489/head
Chocobozzz 2020-12-16 14:18:50 +01:00
parent c5ac9fe7c1
commit ddca257699
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
{{ error }}
</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 }}.
If your live reaches this limit, it will be automatically terminated.
</div>