mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-15 07:52:14 +00:00
fix double click image (#6393)
This commit is contained in:
parent
e94eb3ab66
commit
019e09cb15
@ -95,6 +95,7 @@ class DirentGridItem extends React.Component {
|
||||
handleDoubleClick = (dirent) => {
|
||||
if (Utils.imageCheck(dirent.name)) {
|
||||
this.props.showImagePopup(dirent);
|
||||
this.props.onGridItemClick(null);
|
||||
} else {
|
||||
this.props.onItemClick(dirent);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user