Skip to content

Commit

Permalink
Merge pull request quarkusio#41014 from phillip-kruger/dev-ui-ide-link
Browse files Browse the repository at this point in the history
Fix open-in-ide
  • Loading branch information
maxandersen committed Jun 7, 2024
2 parents c412b89 + bb7760c commit 3194061
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 3194061

Please sign in to comment.