Skip to content

Commit 5bcbe38

Browse files
committed
minor
1 parent ae7470a commit 5bcbe38

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ qx.Class.define("osparc.data.model.Node", {
14511451
case "inputsUnits": {
14521452
// this is never transmitted by the frontend
14531453
const updatedPortKey = path.split("/")[4];
1454-
const currentInputUnits = this.__getInputUnits();
1454+
const currentInputUnits = this.__getInputUnits() || {};
14551455
currentInputUnits[updatedPortKey] = value;
14561456
this.__setInputUnits(currentInputUnits);
14571457
break;

0 commit comments

Comments
 (0)