Skip to content

Commit

Permalink
Merge pull request #404 from KxSystems/ee-collapse
Browse files Browse the repository at this point in the history
Labels collapsible state
  • Loading branch information
ecmel authored Aug 19, 2024
2 parents 28ed191 + e675916 commit 828c8a2
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 828c8a2

Please sign in to comment.