Skip to content

Commit 4ae4d4c

Browse files
committed
removePortLink
1 parent 5641b14 commit 4ae4d4c

File tree

1 file changed

+4
-0
lines changed
  • services/static-webserver/client/source/class/osparc/data/model

1 file changed

+4
-0
lines changed

services/static-webserver/client/source/class/osparc/data/model/Node.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,10 @@ qx.Class.define("osparc.data.model.Node", {
14401440
case "inputs": {
14411441
const updatedPortKey = path.split("/")[4];
14421442
const currentInputs = this.__getInputData();
1443+
if (osparc.utils.Ports.isDataALink(currentInputs[updatedPortKey])) {
1444+
// if the port is a link, we remove it from the props form
1445+
this.getPropsForm().removePortLink(updatedPortKey);
1446+
}
14431447
currentInputs[updatedPortKey] = value;
14441448
this.__setInputData(currentInputs);
14451449
break;

0 commit comments

Comments
 (0)