@lowcodeunit/applications-flow-common 1.39.89-enterprise-switch-fix → 1.39.90-enterprise-switch-fix

Sign up to get free protection for your applications and to get access to all the features.
@@ -693,7 +693,7 @@ class ProjectService {
693
693
  if (response.Status.Code === 0) {
694
694
  resolve(response.Status);
695
695
  console.log('Save EAC Success');
696
- var results = Promise.all([
696
+ var results = await Promise.all([
697
697
  // this.EnsureUserEnterprise(state),
698
698
  this.LoadEnterpriseAsCode(state),
699
699
  // this.ListEnterprises(state),
@@ -1209,10 +1209,7 @@ class EaCService {
1209
1209
  if (req.Application) {
1210
1210
  saveEaC.Applications[req.ApplicationLookup] = req.Application;
1211
1211
  }
1212
- //await
1213
- // const status = await Promise.all([
1214
1212
  const status = await this.projectService.SaveEnterpriseAsCode(state, saveEaC);
1215
- // ]);
1216
1213
  console.log('State after save app: ', state);
1217
1214
  this.stateSubject.next(state);
1218
1215
  return status;