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