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.
This commit is contained in:
parent
449c65b784
commit
9ecf82a1f2
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ export default React.createClass({
|
|||
<input
|
||||
type="submit"
|
||||
value={_t("Cancel")}
|
||||
onClick={this.props.onFinished}
|
||||
onClick={this.onCancelled}
|
||||
/>
|
||||
</div>
|
||||
</BaseDialog>
|
||||
|
|
Loading…
Reference in a new issue