Allow changing server if validation has failed
Show the server config section if there's an error and fix an if case where we forgot to un-set the busy flag
This commit is contained in:
parent
fac6dc25f6
commit
10f6abfe17
2 changed files with 8 additions and 1 deletions
|
@ -104,6 +104,9 @@ export default class ServerConfig extends React.PureComponent {
|
|||
|
||||
const stateForError = AutoDiscoveryUtils.authComponentStateForError(e);
|
||||
if (!stateForError.isFatalError) {
|
||||
this.setState({
|
||||
busy: false,
|
||||
});
|
||||
// carry on anyway
|
||||
const result = await AutoDiscoveryUtils.validateServerConfigWithStaticUrls(hsUrl, isUrl, true);
|
||||
this.props.onServerConfigChange(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue