mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix(editor): Set document title when renaming and loading workflow (no-changelog) (#11100)
This commit is contained in:
@@ -367,6 +367,7 @@ async function onNameSubmit({
|
||||
if (saved) {
|
||||
isNameEditEnabled.value = false;
|
||||
showCreateWorkflowSuccessToast(id);
|
||||
workflowHelpers.setDocumentTitle(newName, 'IDLE');
|
||||
}
|
||||
uiStore.removeActiveAction('workflowSaving');
|
||||
onSubmit(saved);
|
||||
|
||||
@@ -372,7 +372,7 @@ async function initializeWorkspaceForExistingWorkflow(id: string) {
|
||||
|
||||
async function openWorkflow(data: IWorkflowDb) {
|
||||
resetWorkspace();
|
||||
workflowHelpers.setDocumentTitle(editableWorkflow.value.name, 'IDLE');
|
||||
workflowHelpers.setDocumentTitle(data.name, 'IDLE');
|
||||
|
||||
await initializeWorkspace(data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user