From 9ecf82a1f2a2185820a796836cefeca94f4dbbdb Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 14 Jun 2017 16:06:28 +0100 Subject: [PATCH] Show correct text in set email password dialog (2) Fixes https://github.com/vector-im/riot-web/issues/4311 The cancel button onClick was hooked directly up to onFinished, so the mouse event ended up as the boolean for whether an email had been set. --- src/components/views/dialogs/SetEmailDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/dialogs/SetEmailDialog.js b/src/components/views/dialogs/SetEmailDialog.js index a8b8645236..82256970de 100644 --- a/src/components/views/dialogs/SetEmailDialog.js +++ b/src/components/views/dialogs/SetEmailDialog.js @@ -155,7 +155,7 @@ export default React.createClass({