diff --git a/services/static-webserver/client/source/class/osparc/form/renderer/PropForm.js b/services/static-webserver/client/source/class/osparc/form/renderer/PropForm.js index f3d257222d7..9150cfe0499 100644 --- a/services/static-webserver/client/source/class/osparc/form/renderer/PropForm.js +++ b/services/static-webserver/client/source/class/osparc/form/renderer/PropForm.js @@ -861,7 +861,7 @@ qx.Class.define("osparc.form.renderer.PropForm", { if (this.__resetCtrlField(portId)) { if (portId in this.__linkUnlinkStackMap) { const stack = this.__linkUnlinkStackMap[portId]; - if (stack.getSelectables() > 0) { + if (stack.getSelectables().length > 0) { stack.setSelection([stack.getSelectables()[0]]); } }