1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 01:12:03 +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

@@ -17,6 +17,7 @@ const propTypes = {
onDirentItemClick: PropTypes.func,
onRepoItemClick: PropTypes.func,
mode: PropTypes.oneOf(['current_repo_and_other_repos', 'only_all_repos', 'only_current_library']),
fileSuffix: PropTypes.array,
};
class FileChooser extends React.Component {
@@ -308,6 +309,7 @@ class FileChooser extends React.Component {
onRepoItemClick={this.onRepoItemClick}
onDirentItemClick={this.onDirentItemClick}
isShowFile={this.props.isShowFile}
fileSuffix={this.props.fileSuffix}
/>
}
</div>
@@ -326,6 +328,7 @@ class FileChooser extends React.Component {
onRepoItemClick={this.onRepoItemClick}
onDirentItemClick={this.onDirentItemClick}
isShowFile={this.props.isShowFile}
fileSuffix={this.props.fileSuffix}
/>
}
</div>
@@ -347,6 +350,7 @@ class FileChooser extends React.Component {
onRepoItemClick={this.onRepoItemClick}
onDirentItemClick={this.onDirentItemClick}
isShowFile={this.props.isShowFile}
fileSuffix={this.props.fileSuffix}
/>
}
</div>
@@ -366,6 +370,7 @@ class FileChooser extends React.Component {
onRepoItemClick={this.onRepoItemClick}
onDirentItemClick={this.onDirentItemClick}
isShowFile={this.props.isShowFile}
fileSuffix={this.props.fileSuffix}
/>
</div>
</div>