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