1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 15:26:19 +00:00

Merge branch '12.0'

This commit is contained in:
Michael An
2025-05-13 13:21:40 +08:00

View File

@@ -327,7 +327,9 @@ class Search extends Component {
}; };
onItemClickHandler = (item) => { onItemClickHandler = (item) => {
this.resetToDefault(); if (item.is_dir === true) {
this.resetToDefault();
}
this.keepVisitedItem(item); this.keepVisitedItem(item);
this.props.onSearchedClick(item); this.props.onSearchedClick(item);
}; };