mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-29 00:27:37 +00:00
12.0 click search item do not close search mask (#7812)
This commit is contained in:
@@ -307,7 +307,9 @@ class Search extends Component {
|
||||
};
|
||||
|
||||
onItemClickHandler = (item) => {
|
||||
this.resetToDefault();
|
||||
if (item.is_dir === true) {
|
||||
this.resetToDefault();
|
||||
}
|
||||
this.keepVisitedItem(item);
|
||||
this.props.onSearchedClick(item);
|
||||
};
|
||||
|
Reference in New Issue
Block a user