Skip to content

Commit c31f73f

Browse files
committed
minor
1 parent a73dfd9 commit c31f73f

File tree

1 file changed

+5
-3
lines changed
  • services/static-webserver/client/source/class/osparc/workbench

1 file changed

+5
-3
lines changed

services/static-webserver/client/source/class/osparc/workbench/NodeUI.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,11 @@ qx.Class.define("osparc.workbench.NodeUI", {
298298
node.addListener("changeMarker", () => updateMarker());
299299
updateMarker();
300300

301-
node.getStudy().bind("pipelineRunning", this._deleteBtn, "enabled", {
302-
converter: running => !running
303-
});
301+
if (node.getStudy()) {
302+
node.getStudy().bind("pipelineRunning", this._deleteBtn, "enabled", {
303+
converter: running => !running
304+
});
305+
}
304306

305307
const evaluateLifeCycleIcon = () => {
306308
const deprecatedIcon = this.getChildControl("deprecated-icon");

0 commit comments

Comments
 (0)