remove old serverCaps
parent
41a9db3224
commit
3c4c595f79
|
@ -536,7 +536,7 @@ module.exports = React.createClass({
|
||||||
/>;
|
/>;
|
||||||
} else if (!this.state.matrixClient && !this.state.busy) {
|
} else if (!this.state.matrixClient && !this.state.busy) {
|
||||||
return null;
|
return null;
|
||||||
} else if (this.state.busy || !this.state.flows | this.state.serverCaps === null) {
|
} else if (this.state.busy || !this.state.flows) {
|
||||||
return <div className="mx_AuthBody_spinner">
|
return <div className="mx_AuthBody_spinner">
|
||||||
<Spinner />
|
<Spinner />
|
||||||
</div>;
|
</div>;
|
||||||
|
|
|
@ -72,7 +72,6 @@ describe('Registration', function() {
|
||||||
// Set non-empty flows, capabilities & matrixClient to get past the loading spinner
|
// Set non-empty flows, capabilities & matrixClient to get past the loading spinner
|
||||||
root.setState({
|
root.setState({
|
||||||
flows: [],
|
flows: [],
|
||||||
serverCaps: {},
|
|
||||||
matrixClient: {},
|
matrixClient: {},
|
||||||
busy: false,
|
busy: false,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue