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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user