mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js
This commit is contained in:
parent
af42664d73
commit
5a3e6925e5
@ -909,7 +909,11 @@ RED.workspaces = (function() {
|
||||
document.title = `${documentTitle} : ${workspace.label}`;
|
||||
} else {
|
||||
var subflow = RED.nodes.subflow(RED.workspaces.active());
|
||||
document.title = `${documentTitle} : ${subflow.name}`;
|
||||
if (subflow) {
|
||||
document.title = `${documentTitle} : ${subflow.name}`;
|
||||
} else {
|
||||
document.title = documentTitle
|
||||
}
|
||||
}
|
||||
RED.nodes.eachWorkspace(function(ws) {
|
||||
workspace_tabs.renameTab(ws.id,ws.label);
|
||||
|
Loading…
x
Reference in New Issue
Block a user