mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 02:10:24 +00:00
add e.stopPropagation
This commit is contained in:
@@ -120,7 +120,8 @@ class RepoListItem extends React.Component {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
onToggleClick = () => {
|
onToggleClick = (e) => {
|
||||||
|
e.stopPropagation();
|
||||||
this.setState({isShowChildren: !this.state.isShowChildren});
|
this.setState({isShowChildren: !this.state.isShowChildren});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user