Skip to content

Commit

Permalink
return this.treeComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Saira-A committed Aug 27, 2024
1 parent 82c8472 commit d85cba1
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,15 @@ export class TreeView extends BaseView<ContentLeftPanel> {
}

public getAllNodes(): TreeNode[] {
const allNodes = this.treeComponent.getAllNodes();
return allNodes;
return this.treeComponent.getAllNodes();
}

public deselectCurrentNode(): void {
this.treeComponent.deselectCurrentNode();
}

public getNodeById(id: string): TreeNode {
const node = this.treeComponent.getNodeById(id);
return node;
return this.treeComponent.getNodeById(id);
}

resize(): void {
Expand Down

0 comments on commit d85cba1

Please sign in to comment.