You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
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:
@@ -155,7 +155,7 @@ export default React.createClass({
|
|||||||
<input
|
<input
|
||||||
type="submit"
|
type="submit"
|
||||||
value={_t("Cancel")}
|
value={_t("Cancel")}
|
||||||
onClick={this.props.onFinished}
|
onClick={this.onCancelled}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|||||||
Reference in New Issue
Block a user