1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #2571 from node-red-hitachi/fix-delete-tab

Fix error on deleting tab
This commit is contained in:
Nick O'Leary 2020-05-19 10:06:49 +01:00 committed by GitHub
commit e4b9c6a2ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,9 @@ RED.workspaces = (function() {
if (RED.view.state() != RED.state.IMPORT_DRAGGING) {
RED.view.state(RED.state.DEFAULT);
}
RED.sidebar.info.refresh(workspace);
if (workspace_tabs.contains(workspace.id)) {
RED.sidebar.info.refresh(workspace);
}
tabflowEditor.destroy();
}
}