From bb7760c27c6c11c9a73a4bef9a534c1626cad10e Mon Sep 17 00:00:00 2001 From: Phillip Kruger Date: Thu, 6 Jun 2024 11:53:11 +0300 Subject: [PATCH] Fix open-in-ide Signed-off-by: Phillip Kruger --- .../src/main/resources/dev-ui/qui/qui-ide-link.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qui/qui-ide-link.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qui/qui-ide-link.js index 106ddd0143fd4..7e9c9bdc43a00 100644 --- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qui/qui-ide-link.js +++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qui/qui-ide-link.js @@ -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} }; @@ -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"; } @@ -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"; } }