Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

Commit

Permalink
DNN-31960 Expand/Collapse All Fails After Moving Dragging Away The On…
Browse files Browse the repository at this point in the history
…ly Child Item (#1176)
  • Loading branch information
mikebigun authored and mitchelsellers committed Sep 27, 2019
1 parent a48173f commit df74f78
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -662,6 +662,11 @@ class PersonaBarPageTreeviewInteractor extends Component {
this.setState({
isTreeviewExpanded: !this.state.isTreeviewExpanded
});
} else if (item.childCount === 0) {
item.childListItems = [];
item.isOpen = false;
item.hasChildren = false;
updateStore(list);
}
});
}
Expand Down

0 comments on commit df74f78

Please sign in to comment.