mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
Don't show a spinner while we're waiting for the user to do something
This commit is contained in:
parent
8360c112fb
commit
4661bb0942
1 changed files with 6 additions and 1 deletions
|
@ -94,7 +94,12 @@ module.exports = React.createClass({
|
||||||
if (payload.action !== "registration_step_update") {
|
if (payload.action !== "registration_step_update") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.forceUpdate(); // registration state has changed.
|
// If the registration state has changed, this means the
|
||||||
|
// user now needs to do something. It would be better
|
||||||
|
// to expose the explicitly in the register logic.
|
||||||
|
this.setState({
|
||||||
|
busy: false
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
onFormSubmit: function(formVals) {
|
onFormSubmit: function(formVals) {
|
||||||
|
|
Loading…
Reference in a new issue