Skip to content

Commit 0d7703e

Browse files
committed
do not return changed units
1 parent f5d8791 commit 0d7703e

File tree

1 file changed

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

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,12 @@ qx.Class.define("osparc.data.model.Node", {
415415

416416
__getInputUnits: function() {
417417
if (this.isPropertyInitialized("propsForm") && this.getPropsForm()) {
418-
return this.getPropsForm().getChangedXUnits();
418+
const changedUnits = this.getPropsForm().getChangedXUnits();
419+
if (Object.keys(changedUnits).length) {
420+
return changedUnits;
421+
}
419422
}
420-
return {};
423+
return null;
421424
},
422425

423426
getInput: function(inputId) {

0 commit comments

Comments
 (0)