diff --git a/frontend/src/components/dirent-grid-view/dirent-grid-view.js b/frontend/src/components/dirent-grid-view/dirent-grid-view.js index 643845c589..0b9e89abd2 100644 --- a/frontend/src/components/dirent-grid-view/dirent-grid-view.js +++ b/frontend/src/components/dirent-grid-view/dirent-grid-view.js @@ -75,7 +75,7 @@ class DirentGridView extends React.Component{ this.setState({activeDirent: dirent}); this.props.onGridItemClick(dirent); } - + onMoveToggle = () => { this.setState({isMoveDialogShow: !this.state.isMoveDialogShow}); } diff --git a/frontend/src/pages/lib-content-view/lib-content-container.js b/frontend/src/pages/lib-content-view/lib-content-container.js index 904566b996..89e932ee56 100644 --- a/frontend/src/pages/lib-content-view/lib-content-container.js +++ b/frontend/src/pages/lib-content-view/lib-content-container.js @@ -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) { diff --git a/frontend/src/pages/lib-content-view/lib-content-view.js b/frontend/src/pages/lib-content-view/lib-content-view.js index 922eee3fbc..b4e3354de3 100644 --- a/frontend/src/pages/lib-content-view/lib-content-view.js +++ b/frontend/src/pages/lib-content-view/lib-content-view.js @@ -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 && (