You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
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:
@@ -180,7 +180,10 @@ module.exports = React.createClass({
|
|||||||
serverConfig.hsUrl,
|
serverConfig.hsUrl,
|
||||||
serverConfig.isUrl,
|
serverConfig.isUrl,
|
||||||
);
|
);
|
||||||
this.setState({serverIsAlive: true});
|
this.setState({
|
||||||
|
serverIsAlive: true,
|
||||||
|
serverErrorIsFatal: false,
|
||||||
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.setState({
|
this.setState({
|
||||||
busy: false,
|
busy: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user