From f84040c7fe60d6213b0b0c21b9402ab992964bf5 Mon Sep 17 00:00:00 2001 From: Odei Maiz Date: Tue, 13 Aug 2024 10:04:25 +0200 Subject: [PATCH] check value --- .../client/source/class/osparc/viewer/NodeViewer.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/services/static-webserver/client/source/class/osparc/viewer/NodeViewer.js b/services/static-webserver/client/source/class/osparc/viewer/NodeViewer.js index 6a30431c40a..ca19b40d13c 100644 --- a/services/static-webserver/client/source/class/osparc/viewer/NodeViewer.js +++ b/services/static-webserver/client/source/class/osparc/viewer/NodeViewer.js @@ -65,7 +65,11 @@ qx.Class.define("osparc.viewer.NodeViewer", { if (study.getWorkbench().isDeserialized()) { startPolling(); } else { - study.getWorkbench().addListener("changeDeserialized", () => startPolling()); + study.getWorkbench().addListener("changeDeserialized", e => { + if (e.getData()) { + startPolling() + } + }); } }) .catch(err => console.error(err));