Skip to content

Commit

Permalink
allow url and topology nodes at the same time
Browse files Browse the repository at this point in the history
  • Loading branch information
martinapippi committed Apr 5, 2024
1 parent 77d8924 commit 71669e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/TopologyDisplayView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,13 @@ function nodeButtonItems(node: TopologyNode) {
}
function getIcon(node: TopologyNode): string | undefined {
if (node.url && !node.topologyNodes && !node.displayGroups)
if (node.url && node.topologyNodes && !node.displayGroups)
return 'mdi-open-in-new'
return undefined
}
function getUrl(node: TopologyNode): string | undefined {
if (node.url && !node.topologyNodes && !node.displayGroups) return node.url
if (node.url && node.topologyNodes && !node.displayGroups) return node.url
return undefined
}
Expand Down

0 comments on commit 71669e6

Please sign in to comment.