Skip to content

Commit

Permalink
Fix open-in-ide
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Kruger <[email protected]>
  • Loading branch information
phillip-kruger committed Jun 6, 2024
1 parent 20d3c9d commit bb7760c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class QuiIdeLink extends observeState(LitElement) {
static properties = {
fileName: {type: String},
lang: {type: String},
lineNumber: {type: Number},
lineNumber: {type: String},
stackTraceLine: {type: String},
_fontWeight: {type: String}
};
Expand All @@ -30,7 +30,7 @@ export class QuiIdeLink extends observeState(LitElement) {
this.stackTraceLine = null;
this.fileName = null;
this.lang = "java";
this.lineNumber = 0;
this.lineNumber = "0";
this._fontWeight = "normal";
}

Expand All @@ -55,7 +55,7 @@ export class QuiIdeLink extends observeState(LitElement) {
if(givenClassName && givenClassName!== "" && this._checkIfStringStartsWith(givenClassName, devuiState.ideInfo.idePackages)){
this.fileName = givenClassName;
this.lang = lang;
this.lineNumber = parseInt(lineNumber);
this.lineNumber = lineNumber;
this._fontWeight = "bold";
}
}
Expand Down

0 comments on commit bb7760c

Please sign in to comment.