1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

add e.stopPropagation

This commit is contained in:
zxj96
2019-06-03 18:10:11 +08:00
parent 44f9095d05
commit 1267e530de

View File

@@ -120,7 +120,8 @@ class RepoListItem extends React.Component {
});
}
onToggleClick = () => {
onToggleClick = (e) => {
e.stopPropagation();
this.setState({isShowChildren: !this.state.isShowChildren});
}