Skip to content

Commit

Permalink
fix: use scheme type as node label
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Jan 22, 2023
1 parent b51541b commit 9e48016
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/model/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ export class SchemeNode extends AbstractNode {

if (this.scheme.case !== undefined) {
const schemeType = this.scheme.case;
label = schemeType;

const schemeValue = scheme2string(this.scheme);

if (schemeValue !== "DEFAULT") {
Expand Down

0 comments on commit 9e48016

Please # to comment.