mirror of https://github.com/vector-im/riot-web
Style fix
parent
f6aa9a7ea4
commit
4fc311da90
|
@ -120,9 +120,7 @@ module.exports = React.createClass({
|
|||
if (event.target.checked) {
|
||||
var data = {}
|
||||
if (this.props.brand) {
|
||||
data['brand'] = this.props.brand;
|
||||
} else if (this.props.brand === undefined) {
|
||||
data['brand'] = 'Vector';
|
||||
data['brand'] = this.props.brand || 'Vector';
|
||||
}
|
||||
emailPusherPromise = UserSettingsStore.addEmailPusher(address, data);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue