mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
changes disabled switches code
This commit is contained in:
parent
de5136f9cb
commit
8a7154fa47
1 changed files with 2 additions and 2 deletions
|
@ -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" />
|
||||
|
|
Loading…
Reference in a new issue