Skip to content

Commit

Permalink
fix(ui): allow to omit endpoint in multi channel associations
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 4, 2020
1 parent 6884f49 commit 3def708
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/ControlPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1238,8 +1238,8 @@ export default {
var association = { nodeId: target }
if (g.group.multiChannel) {
association.endpoint = g.targetInstance || 0
if (g.group.multiChannel && g.targetInstance >= 0) {
association.endpoint = g.targetInstance
}
if (g && g.node && target) {
Expand All @@ -1258,8 +1258,8 @@ export default {
if (g && g.node && target) {
var association = { nodeId: target }
if (g.group.multiChannel) {
association.endpoint = g.targetInstance || 0
if (g.group.multiChannel && g.targetInstance >= 0) {
association.endpoint = g.targetInstance
}
var args = [g.node.id, g.group.value, [association]]
Expand Down

0 comments on commit 3def708

Please sign in to comment.