mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 10:58:33 +00:00
Update react version 3 (#7453)
* update react version * update reactstrap * optimize code * update react-select version * update react-responsive * update react-chartjs version * update qrocde version * update seafile-editor version * update tldraw editor version * fix code bug
This commit is contained in:
@@ -60,7 +60,7 @@ class ViewModes extends React.Component {
|
||||
id="cur-view-change-mode-dropdown"
|
||||
>
|
||||
<DropdownToggle
|
||||
tag="div"
|
||||
tag="span"
|
||||
data-toggle="dropdown"
|
||||
title={gettext('Switch view mode')}
|
||||
aria-label={gettext('Switch view mode')}
|
||||
@@ -71,7 +71,7 @@ class ViewModes extends React.Component {
|
||||
<span className={'sf3-font sf3-font-down'}></span>
|
||||
</span>
|
||||
</DropdownToggle>
|
||||
<DropdownMenu right={true} className="mt-1">
|
||||
<DropdownMenu className="mt-1">
|
||||
{options.map((item, index) => {
|
||||
return (
|
||||
<DropdownItem className='p-0' key={index} onClick={this.props.switchViewMode.bind(this, item.value)}>
|
||||
|
Reference in New Issue
Block a user