Skip to content

Commit

Permalink
Merge pull request #795 from Deltares/794-combination-of-url-and-grid…
Browse files Browse the repository at this point in the history
…displayselection-linked-to-topology-node-doesnt-work

allow url and topology nodes at the same time
  • Loading branch information
hvangeffen authored Apr 8, 2024
2 parents 77d8924 + 71669e6 commit fe571fc
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 fe571fc

Please sign in to comment.