Skip to content

Commit

Permalink
do not fold when unselect a child (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
qlj-lijuan authored Jul 31, 2020
1 parent 4d6f622 commit 39f3243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/tools/statsvar_menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class Node extends Component<NodePropType, NodeStateType> {
private _handleHashChange() {
const statsVarPathNext = [];
let check = false;
let expand = false;
let expand = this.state.expanded;
for (const statsVarPath of this.props.statsVarPaths) {
if (statsVarPath && statsVarPath[0] === this.props.idx) {
if (statsVarPath.length === 1) {
Expand Down

0 comments on commit 39f3243

Please sign in to comment.