mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
fix(editor): Fix initialize authenticated features (#9867)
This commit is contained in:
@@ -4789,12 +4789,6 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
try {
|
||||
await Promise.all([
|
||||
this.loadVariables(),
|
||||
this.tagsStore.fetchAll(),
|
||||
this.loadCredentials(),
|
||||
]);
|
||||
|
||||
if (workflowId !== null && !this.uiStore.stateIsDirty) {
|
||||
const workflow: IWorkflowDb | undefined =
|
||||
await this.workflowsStore.fetchWorkflow(workflowId);
|
||||
@@ -4803,6 +4797,12 @@ export default defineComponent({
|
||||
await this.openWorkflow(workflow);
|
||||
}
|
||||
}
|
||||
|
||||
await Promise.all([
|
||||
this.loadVariables(),
|
||||
this.tagsStore.fetchAll(),
|
||||
this.loadCredentials(),
|
||||
]);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user