File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
services/static-webserver/client/source/class/osparc/workbench Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -398,9 +398,15 @@ qx.Class.define("osparc.workbench.NodeUI", {
398398 }
399399
400400 const lock = this . getChildControl ( "lock" ) ;
401- node . getStatus ( ) . getLockState ( ) . bind ( "locked" , lock , "visibility" , {
402- converter : nodeLocked => nodeLocked ? "visible" : "excluded"
403- } ) ;
401+ if ( node . isComputational ( ) ) {
402+ node . getStudy ( ) . bind ( "pipelineRunning" , lock , "visibility" , {
403+ converter : pipelineRunning => ! pipelineRunning
404+ } ) ;
405+ } else if ( node . isDynamic ( ) ) {
406+ node . getStatus ( ) . getLockState ( ) . bind ( "locked" , lock , "visibility" , {
407+ converter : nodeLocked => nodeLocked ? "visible" : "excluded"
408+ } ) ;
409+ }
404410
405411 this . __markerBtn . show ( ) ;
406412 this . getNode ( ) . bind ( "marker" , this . __markerBtn , "label" , {
You can’t perform that action at this time.
0 commit comments