Skip to content

Commit

Permalink
select the deep link item
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-Mcl committed Mar 26, 2023
1 parent 4667e76 commit 12ac260
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/node_modules/@node-red/editor-client/src/js/red.js
Expand Up @@ -263,6 +263,7 @@ var RED = (function() {
setTimeout(() => {
RED.view.reveal(nodeToShow.id)
window.location.hash = currentHash
RED.view.select(nodeToShow.id)
if (showEditDialog) {
RED.editor.edit(nodeToShow)
}
Expand All @@ -273,6 +274,7 @@ var RED = (function() {
if (nodeToShow) {
RED.view.reveal(nodeToShow.id)
window.location.hash = currentHash
RED.view.select({ nodes: [nodeToShow] })
if (showEditDialog) {
RED.editor.editGroup(nodeToShow)
}
Expand Down

0 comments on commit 12ac260

Please sign in to comment.