Skip to content

Commit

Permalink
πŸ› [Frontend] Fix: unlink port (#6284)
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz authored and matusdrobuliak66 committed Sep 2, 2024
1 parent 62edb69 commit f004184
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]]);
}
}
Expand Down

0 comments on commit f004184

Please sign in to comment.