mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
Return early after cancelled mxid dialog
This commit is contained in:
@@ -778,6 +778,7 @@ module.exports = React.createClass({
|
|||||||
onFinished: (submitted, credentials) => {
|
onFinished: (submitted, credentials) => {
|
||||||
if (!submitted) {
|
if (!submitted) {
|
||||||
mxIdPromise.reject();
|
mxIdPromise.reject();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
this.props.onRegistered(credentials);
|
this.props.onRegistered(credentials);
|
||||||
mxIdPromise.resolve();
|
mxIdPromise.resolve();
|
||||||
|
|||||||
Reference in New Issue
Block a user