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