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:
@@ -120,7 +120,8 @@ class RepoListItem extends React.Component {
|
||||
});
|
||||
}
|
||||
|
||||
onToggleClick = () => {
|
||||
onToggleClick = (e) => {
|
||||
e.stopPropagation();
|
||||
this.setState({isShowChildren: !this.state.isShowChildren});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user