mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 18:55:58 +03:00
More equalses
This commit is contained in:
parent
83b7f94609
commit
c72a49d229
1 changed files with 2 additions and 2 deletions
|
@ -719,9 +719,9 @@ module.exports = React.createClass({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const emailThreepids = this.props.threepids.filter((tp) => tp.medium == "email");
|
const emailThreepids = this.props.threepids.filter((tp) => tp.medium === "email");
|
||||||
let emailNotificationsRow;
|
let emailNotificationsRow;
|
||||||
if (emailThreepids.length == 0) {
|
if (emailThreepids.length === 0) {
|
||||||
emailNotificationsRow = <div>
|
emailNotificationsRow = <div>
|
||||||
Add an email address above to configure email notifications
|
Add an email address above to configure email notifications
|
||||||
</div>;
|
</div>;
|
||||||
|
|
Loading…
Reference in a new issue