mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Show config node details when selected in outliner
This commit is contained in:
parent
e9e3b9b7c6
commit
c6f6042271
@ -279,6 +279,8 @@ RED.sidebar.info.outliner = (function() {
|
|||||||
if (node) {
|
if (node) {
|
||||||
if (node.type === 'group' || node._def.category !== "config") {
|
if (node.type === 'group' || node._def.category !== "config") {
|
||||||
RED.view.select({nodes:[node]})
|
RED.view.select({nodes:[node]})
|
||||||
|
} else if (node._def.category === "config") {
|
||||||
|
RED.sidebar.info.refresh(node);
|
||||||
} else {
|
} else {
|
||||||
RED.view.select({nodes:[]})
|
RED.view.select({nodes:[]})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user