We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d0ca04 commit b6d8c7dCopy full SHA for b6d8c7d
1 file changed
src/app/community-list-page/community-list/community-list.component.ts
@@ -84,7 +84,7 @@ export class CommunityListComponent implements OnInit, OnDestroy {
84
toggleExpanded(node: FlatNode) {
85
this.loadingNode = node;
86
if (node.isExpanded) {
87
- this.expandedNodes = this.expandedNodes.filter((node2) => node2.name !== node.name);
+ this.expandedNodes = this.expandedNodes.filter((node2) => node2.id !== node.id);
88
node.isExpanded = false;
89
} else {
90
this.expandedNodes.push(node);
0 commit comments