mirror of https://github.com/vector-im/riot-web
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.pull/21833/head
parent
449c65b784
commit
9ecf82a1f2
|
@ -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 New Issue