changes disabled switches code

This commit is contained in:
Toni Dezman 2017-08-24 09:37:06 +02:00
parent de5136f9cb
commit 8a7154fa47

View file

@ -52,7 +52,7 @@ class NotificationsSwitch extends Component {
</LeftButton> </LeftButton>
<RightButton <RightButton
className="btn btn-primary" className="btn btn-primary"
disabled={this.props.isDisabled || true} disabled
onClick={this.handleClick} onClick={this.handleClick}
> >
<FormattedMessage id="settings_page.yes" /> <FormattedMessage id="settings_page.yes" />
@ -64,7 +64,7 @@ class NotificationsSwitch extends Component {
<div className="btn-group"> <div className="btn-group">
<LeftButton <LeftButton
className="btn btn-danger" className="btn btn-danger"
disabled={this.props.isDisabled || true} disabled
onClick={this.handleClick} onClick={this.handleClick}
> >
<FormattedMessage id="settings_page.no" /> <FormattedMessage id="settings_page.no" />