1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +00:00

Restore code

This commit is contained in:
zxj96
2019-04-24 14:39:46 +08:00
parent c7d9eb8ec0
commit 9cd68756ff
3 changed files with 2 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ class DirentGridView extends React.Component{
this.setState({activeDirent: dirent});
this.props.onGridItemClick(dirent);
}
onMoveToggle = () => {
this.setState({isMoveDialogShow: !this.state.isMoveDialogShow});
}

View File

@@ -147,7 +147,7 @@ class LibContentContainer extends React.Component {
}
render() {
let { path, repoID, usedRepoTags, readmeMarkdown, draftCounts, direntList } = this.props;
let { path, repoID, usedRepoTags, readmeMarkdown, draftCounts } = this.props;
let isRepoInfoBarShow = false;
if (path === '/') {
if (usedRepoTags.length !== 0 || readmeMarkdown !== null || draftCounts !== 0) {

View File

@@ -1468,7 +1468,6 @@ class LibContentView extends React.Component {
onToolbarFileTagChanged={this.onToolbarFileTagChanged}
updateDetail={this.state.updateDetail}
onPageScroll={this.onPageScroll}
itemsShowLength={this.state.itemsShowLength}
/>
{this.state.pathExist && !this.state.isViewFile && (
<FileUploader