mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
repair dir-view search bug (#2833)
This commit is contained in:
@@ -512,6 +512,7 @@ class DirView extends React.Component {
|
||||
|
||||
onSearchedClick = (selectedItem) => {
|
||||
if (selectedItem.is_dir === true) {
|
||||
this.updateDirentList(selectedItem.path);
|
||||
this.setState({path: selectedItem.path});
|
||||
} else {
|
||||
let url = siteRoot + 'lib/' + selectedItem.repo_id + '/file' + selectedItem.path;
|
||||
|
Reference in New Issue
Block a user