Style fix

This commit is contained in:
David Baker 2016-06-09 09:56:11 +01:00
parent f6aa9a7ea4
commit 4fc311da90

View file

@ -120,9 +120,7 @@ module.exports = React.createClass({
if (event.target.checked) { if (event.target.checked) {
var data = {} var data = {}
if (this.props.brand) { if (this.props.brand) {
data['brand'] = this.props.brand; data['brand'] = this.props.brand || 'Vector';
} else if (this.props.brand === undefined) {
data['brand'] = 'Vector';
} }
emailPusherPromise = UserSettingsStore.addEmailPusher(address, data); emailPusherPromise = UserSettingsStore.addEmailPusher(address, data);
} else { } else {