Skip to content

Commit

Permalink
fixes collapsible state
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Aug 17, 2024
1 parent 28ed191 commit e675916
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/kdbTreeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -819,9 +819,11 @@ export class QServerNode extends TreeItem {

export class LabelNode extends TreeItem {
readonly children: TreeItem[] = [];
static id = 0;

constructor(public readonly source: Labels) {
super(source.name);
this.id = "LabelNode" + LabelNode.id++;
this.collapsibleState = this.getCollapsibleState(source.name);
this.contextValue = "label";
}
Expand Down

0 comments on commit e675916

Please sign in to comment.