mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Only show tab info if there is an active tab
This commit is contained in:
parent
479b18354d
commit
6a6a692891
@ -373,7 +373,7 @@ RED.sidebar.info = (function() {
|
|||||||
refresh(flow);
|
refresh(flow);
|
||||||
} else {
|
} else {
|
||||||
var workspace = RED.nodes.workspace(RED.workspaces.active());
|
var workspace = RED.nodes.workspace(RED.workspaces.active());
|
||||||
if (workspace.info) {
|
if (workspace && workspace.info) {
|
||||||
refresh(workspace);
|
refresh(workspace);
|
||||||
} else {
|
} else {
|
||||||
clear();
|
clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user