mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +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>
|
</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" />
|
||||||
|
|
Loading…
Reference in a new issue