1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

repaire file doubleClick bug

This commit is contained in:
zxj96
2019-05-30 10:45:23 +08:00
parent 0e8c2b6283
commit 91da729cb0
2 changed files with 6 additions and 0 deletions

View File

@@ -297,6 +297,9 @@ class FileChooser extends React.Component {
}
onSearchedItemDoubleClick = (item) => {
if (item.type !== 'dir') {
return;
}
let selectedItemInfo = {
repoID: item.repo_id,