mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Force form validation in configuration
This commit is contained in:
@@ -123,6 +123,8 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit {
|
||||
this.oldCustomJavascript = this.customConfig.instance.customizations.javascript
|
||||
|
||||
this.updateForm()
|
||||
// Force form validation
|
||||
this.forceCheck()
|
||||
},
|
||||
|
||||
err => this.notificationsService.error('Error', err.message)
|
||||
|
||||
Reference in New Issue
Block a user