fix(editor): Fix initialize authenticated features (#9867)

This commit is contained in:
Csaba Tuncsik
2024-06-26 13:03:04 +02:00
committed by GitHub
parent 5bc58efde9
commit 4de58dcbf5
4 changed files with 19 additions and 18 deletions

View File

@@ -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);
}