mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 01:12:03 +00:00
Improve/move dirent dialog UI (#6786)
* update move dialog and search input * update move dialog ui * clean up code * update code --------- Co-authored-by: renjie-run <rj.aiyayao@gmail.com>
This commit is contained in:
@@ -19,6 +19,20 @@ const propTypes = {
|
||||
browsingPath: PropTypes.string,
|
||||
};
|
||||
|
||||
const defaultProps = {
|
||||
currentRepoInfo: null,
|
||||
isShowFile: false,
|
||||
repo: null,
|
||||
repoList: [],
|
||||
selectedRepo: null,
|
||||
selectedPath: '',
|
||||
fileSuffixes: [],
|
||||
selectedItemInfo: null,
|
||||
currentPath: '',
|
||||
isBrowsing: false,
|
||||
browsingPath: '',
|
||||
};
|
||||
|
||||
class RepoListView extends React.Component {
|
||||
|
||||
render() {
|
||||
@@ -56,5 +70,6 @@ class RepoListView extends React.Component {
|
||||
}
|
||||
|
||||
RepoListView.propTypes = propTypes;
|
||||
RepoListView.defaultProps = defaultProps;
|
||||
|
||||
export default RepoListView;
|
||||
|
Reference in New Issue
Block a user