1
0
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:
Nick O'Leary 2017-05-24 20:58:16 +01:00
parent 479b18354d
commit 6a6a692891
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -373,7 +373,7 @@ RED.sidebar.info = (function() {
refresh(flow);
} else {
var workspace = RED.nodes.workspace(RED.workspaces.active());
if (workspace.info) {
if (workspace && workspace.info) {
refresh(workspace);
} else {
clear();