mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Separate cloud endpoint calls (#7312)
This PR untangles calls to cloud endpoints so failure in one of them doesn't stop others to go through.
This commit is contained in:
committed by
GitHub
parent
1691223789
commit
04dfcd73be
@@ -144,8 +144,9 @@ export default defineComponent({
|
||||
console.log(HIRING_BANNER);
|
||||
}
|
||||
},
|
||||
async checkForCloudPlanData() {
|
||||
return this.cloudPlanStore.checkForCloudPlanData();
|
||||
async checkForCloudData() {
|
||||
await this.cloudPlanStore.checkForCloudPlanData();
|
||||
await this.cloudPlanStore.fetchUserCloudAccount();
|
||||
},
|
||||
async initialize(): Promise<void> {
|
||||
await this.initSettings();
|
||||
@@ -237,7 +238,7 @@ export default defineComponent({
|
||||
await this.authenticate();
|
||||
await this.redirectIfNecessary();
|
||||
void this.checkForNewVersions();
|
||||
await this.checkForCloudPlanData();
|
||||
await this.checkForCloudData();
|
||||
void this.postAuthenticate();
|
||||
|
||||
this.loading = false;
|
||||
|
||||
Reference in New Issue
Block a user