Re-enable register button on change to working HS
Register button disabling is done via serverErrorIsFatal so we need to reset this on a successful validation. https://github.com/vector-im/riot-web/issues/10029
This commit is contained in:
parent
2eef3d610e
commit
e3bf4a0b8e
1 changed files with 4 additions and 1 deletions
|
@ -180,7 +180,10 @@ module.exports = React.createClass({
|
|||
serverConfig.hsUrl,
|
||||
serverConfig.isUrl,
|
||||
);
|
||||
this.setState({serverIsAlive: true});
|
||||
this.setState({
|
||||
serverIsAlive: true,
|
||||
serverErrorIsFatal: false,
|
||||
});
|
||||
} catch (e) {
|
||||
this.setState({
|
||||
busy: false,
|
||||
|
|
Loading…
Reference in a new issue