mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
fix (#2507)
This commit is contained in:
@@ -186,9 +186,9 @@ class DraftReview extends React.Component {
|
|||||||
<div className="button-group">
|
<div className="button-group">
|
||||||
<div className={'seafile-toggle-diff'}>
|
<div className={'seafile-toggle-diff'}>
|
||||||
<label className="custom-switch" id="toggle-diff">
|
<label className="custom-switch" id="toggle-diff">
|
||||||
<input type="checkbox" checked={this.state.isShowDiff ? 'checked' : ''}
|
<input type="checkbox" checked={this.state.isShowDiff && 'checked'}
|
||||||
name="option" className="custom-switch-input"
|
name="option" className="custom-switch-input"
|
||||||
onClick={this.onSwitchShowDiff}/>
|
onChange={this.onSwitchShowDiff}/>
|
||||||
<span className="custom-switch-indicator"></span>
|
<span className="custom-switch-indicator"></span>
|
||||||
</label>
|
</label>
|
||||||
<Tooltip placement="bottom" isOpen={this.state.showDiffTip}
|
<Tooltip placement="bottom" isOpen={this.state.showDiffTip}
|
||||||
|
Reference in New Issue
Block a user