mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 17:02:47 +00:00
[eslint] updated eslintrc and improved the code (#4702)
This commit is contained in:
@@ -38,7 +38,7 @@ class CurDirPath extends React.Component {
|
||||
const isDesktop = Utils.isDesktop();
|
||||
return (
|
||||
<Fragment>
|
||||
<DirPath
|
||||
<DirPath
|
||||
repoName={this.props.repoName}
|
||||
pathPrefix={this.props.pathPrefix}
|
||||
currentPath={this.props.currentPath}
|
||||
@@ -49,11 +49,11 @@ class CurDirPath extends React.Component {
|
||||
fileTags={this.props.fileTags}
|
||||
/>
|
||||
{isDesktop &&
|
||||
<DirTool
|
||||
<DirTool
|
||||
repoID={this.props.repoID}
|
||||
repoName={this.props.repoName}
|
||||
repoName={this.props.repoName}
|
||||
permission={this.props.permission}
|
||||
currentPath={this.props.currentPath}
|
||||
currentPath={this.props.currentPath}
|
||||
updateUsedRepoTags={this.props.updateUsedRepoTags}
|
||||
onDeleteRepoTag={this.props.onDeleteRepoTag}
|
||||
/>}
|
||||
|
Reference in New Issue
Block a user