Unset email pending state on error or we never remove the spinner
This commit is contained in:
parent
c7e2b09d8b
commit
c3dd9a4b17
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ module.exports = React.createClass({
|
|||
this._refreshFromServer();
|
||||
this.setState({email_add_pending: false});
|
||||
}, (err) => {
|
||||
this.setState({email_add_pending: false});
|
||||
if (err.errcode == 'M_THREEPID_AUTH_FAILED') {
|
||||
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||
var message = "Unable to verify email address. "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue