Skip to content

Commit

Permalink
feat: Add location to names in control panel associations
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Feb 21, 2020
1 parent b2c1961 commit fe9511e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ControlPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ export default {
this.setName(n)
},
setName (n) {
n._name = n.name || 'NodeID_' + n.node_id
n._name = n.name ? (n.name + (n.loc ? ' (' + n.loc + ')' : '')) : 'NodeID_' + n.node_id
}
},
mounted () {
Expand Down

0 comments on commit fe9511e

Please sign in to comment.