mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
delete useless codes (#6218)
* delete useless codes * remove useless codes
This commit is contained in:
@@ -128,7 +128,7 @@ class DirPath extends React.Component {
|
||||
|
||||
return (
|
||||
<div className="path-container dir-view-path">
|
||||
<span className="cur-view-path-btn mr-1" style={{marginLeft: '-4px'}} onClick={this.props.toggleTreePanel}>
|
||||
<span className="cur-view-path-btn mr-1" onClick={this.props.toggleTreePanel}>
|
||||
<span className="sf3-font-side-bar sf3-font"></span>
|
||||
</span>
|
||||
{this.props.pathPrefix && this.props.pathPrefix.map((item, index) => {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import React, { Fragment } from 'react';
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Utils } from '../../utils/utils';
|
||||
import SortOptionsDialog from '../../components/dialog/sort-options';
|
||||
@@ -57,7 +57,7 @@ class CurDirPath extends React.Component {
|
||||
render() {
|
||||
const isDesktop = Utils.isDesktop();
|
||||
return (
|
||||
<Fragment>
|
||||
<div className="cur-dir-path d-flex justify-content-between align-items-center">
|
||||
<DirPath
|
||||
repoID={this.props.repoID}
|
||||
repoName={this.props.repoName}
|
||||
@@ -104,7 +104,7 @@ class CurDirPath extends React.Component {
|
||||
sortItems={this.props.sortItems}
|
||||
/>
|
||||
}
|
||||
</Fragment>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user