1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 17:02:47 +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

@@ -12,6 +12,7 @@ const propTypes = {
selectedPath: PropTypes.string,
onDirentItemClick: PropTypes.func.isRequired,
onRepoItemClick: PropTypes.func.isRequired,
fileSuffix: PropTypes.array,
};
class RepoListView extends React.Component {
@@ -35,6 +36,7 @@ class RepoListView extends React.Component {
onRepoItemClick={this.props.onRepoItemClick}
onDirentItemClick={this.props.onDirentItemClick}
isShowFile={this.props.isShowFile}
fileSuffix={this.props.fileSuffix}
/>
);
})}