From 1a1438e42f715abc708fb7f75ef48d234dcaa096 Mon Sep 17 00:00:00 2001 From: Phillip Kruger Date: Wed, 27 Sep 2023 10:29:23 +1000 Subject: [PATCH] Dev-UI: Fix Test screen Signed-off-by: Phillip Kruger --- .../src/main/resources/dev-ui/qwc/qwc-continuous-testing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-continuous-testing.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-continuous-testing.js index 86dbf99328516..82c85eb85863b 100644 --- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-continuous-testing.js +++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-continuous-testing.js @@ -105,7 +105,7 @@ export class QwcContinuousTesting extends QwcHotReloadElement { this._state = JSON.parse(jsonRpcResponse.result); }); this._streamResultsObserver = this.jsonRpc.streamTestResults().onNext(jsonRpcResponse => { - this._results = JSON.parse(jsonRpcResponse.result); + this._results = jsonRpcResponse.result; }); } @@ -121,7 +121,7 @@ export class QwcContinuousTesting extends QwcHotReloadElement { }); this.jsonRpc.lastKnownResults().then(jsonRpcResponse => { if(jsonRpcResponse.result){ - this._results = JSON.parse(jsonRpcResponse.result); + this._results = jsonRpcResponse.result; } }); }