1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 02:10:24 +00:00

add file filter

This commit is contained in:
Michael An
2019-04-23 17:24:17 +08:00
parent 2eb1e15b05
commit 31228181bf
6 changed files with 20 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ const propTypes = {
initToShowChildren: PropTypes.bool.isRequired,
onDirentItemClick: PropTypes.func.isRequired,
onRepoItemClick: PropTypes.func.isRequired,
fileSuffix: PropTypes.array,
};
class RepoListItem extends React.Component {
@@ -64,6 +65,7 @@ class RepoListItem extends React.Component {
selectedRepo={this.props.selectedRepo}
selectedPath={this.props.selectedPath}
isShowFile={this.props.isShowFile}
fileSuffix={this.props.fileSuffix}
/>
)}
</li>