Skip to content

Commit f8eddf2

Browse files
committed
idle state doesn't include the project_id
1 parent a6cb368 commit f8eddf2

File tree

1 file changed

+6
-5
lines changed
  • services/static-webserver/client/source/class/osparc/desktop

1 file changed

+6
-5
lines changed

services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -421,14 +421,15 @@ qx.Class.define("osparc.desktop.StudyEditor", {
421421
// callback for events
422422
if (!socket.slotExists("serviceStatus")) {
423423
socket.on("serviceStatus", data => {
424-
if (this.getStudy().getUuid() !== data["project_id"]) {
425-
return;
426-
}
427424
const nodeId = data["service_uuid"];
428425
const workbench = this.getStudy().getWorkbench();
429426
const node = workbench.getNode(nodeId);
430-
if (node && node.getIframeHandler()) {
431-
node.getIframeHandler().onNodeState(data);
427+
if (node) {
428+
if (node.getIframeHandler()) {
429+
node.getIframeHandler().onNodeState(data);
430+
}
431+
} else if (osparc.data.Permissions.getInstance().isTester()) {
432+
console.log("Ignored ws 'progress' msg", data);
432433
}
433434
}, this);
434435
}

0 commit comments

Comments
 (0)