Skip to content

Commit

Permalink
Fix operator id numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
oxixes committed Jul 8, 2024
1 parent 01e171a commit c2207c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wirecloud/platform/static/js/wirecloud/Wiring.js
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@

// Init operatorId counter
if (priv.operators.length > 0) {
priv.operatorId = priv.operators[priv.operators.length - 1].id + 1;
priv.operatorId = parseInt(priv.operators[priv.operators.length - 1].id) + 1;
} else {
priv.operatorId = 1;
}
Expand Down

0 comments on commit c2207c7

Please sign in to comment.