]
this.liveMaxDurationOptions = [
- { value: null, label: $localize`No limit` },
+ { value: -1, label: $localize`No limit` },
{ value: 1000 * 3600, label: $localize`1 hour` },
{ value: 1000 * 3600 * 3, label: $localize`3 hours` },
{ value: 1000 * 3600 * 5, label: $localize`5 hours` },
async formValidated () {
const value: CustomConfig = this.form.getRawValue()
- // Transform "null" to null
- const maxDuration = value.live.maxDuration as any
- if (maxDuration === 'null') value.live.maxDuration = null
-
this.configService.updateCustomConfig(value)
.subscribe(
res => {