mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Fix for broken tab navigation (#4881)
🐛 Fixing broken tab navigation
This commit is contained in:
committed by
GitHub
parent
b2aba48dfe
commit
983c5447c5
@@ -349,7 +349,8 @@ export default mixins(
|
||||
next();
|
||||
return;
|
||||
}
|
||||
|
||||
// Make sure workflow id is empty when leaving the editor
|
||||
this.workflowsStore.setWorkflowId(PLACEHOLDER_EMPTY_WORKFLOW_ID);
|
||||
const result = this.uiStore.stateIsDirty;
|
||||
if (result) {
|
||||
const confirmModal = await this.confirmModal(
|
||||
@@ -3547,7 +3548,6 @@ export default mixins(
|
||||
dataPinningEventBus.$off('pin-data', this.addPinDataConnections);
|
||||
dataPinningEventBus.$off('unpin-data', this.removePinDataConnections);
|
||||
nodeViewEventBus.$off('saveWorkflow', this.saveCurrentWorkflowExternal);
|
||||
this.workflowsStore.setWorkflowId(PLACEHOLDER_EMPTY_WORKFLOW_ID);
|
||||
},
|
||||
destroyed() {
|
||||
this.resetWorkspace();
|
||||
|
||||
Reference in New Issue
Block a user