mirror of https://github.com/Chocobozzz/PeerTube
Force form validation in configuration
parent
3660d6c3c7
commit
d63fd4f7b1
|
@ -123,6 +123,8 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit {
|
||||||
this.oldCustomJavascript = this.customConfig.instance.customizations.javascript
|
this.oldCustomJavascript = this.customConfig.instance.customizations.javascript
|
||||||
|
|
||||||
this.updateForm()
|
this.updateForm()
|
||||||
|
// Force form validation
|
||||||
|
this.forceCheck()
|
||||||
},
|
},
|
||||||
|
|
||||||
err => this.notificationsService.error('Error', err.message)
|
err => this.notificationsService.error('Error', err.message)
|
||||||
|
|
Loading…
Reference in New Issue