@lowcodeunit/applications-flow-common 1.39.89-enterprise-switch-fix → 1.39.91-enterprise-switch-fix
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/services/eac.service.mjs +1 -4
- package/esm2020/lib/services/project.service.mjs +4 -4
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +3 -6
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +3 -6
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/package.json +1 -1
@@ -527,8 +527,8 @@ class ProjectService {
|
|
527
527
|
async LoadEnterpriseAsCode(state) {
|
528
528
|
return new Promise((resolve, reject) => {
|
529
529
|
console.log('Load ent called!!!');
|
530
|
-
|
531
|
-
|
530
|
+
state.Loading = true;
|
531
|
+
state.LoadingActiveEnterprise = true;
|
532
532
|
this.appsFlowSvc.LoadEnterpriseAsCode().subscribe({
|
533
533
|
next: async (response) => {
|
534
534
|
console.log('State at Load ent: ', state);
|
@@ -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;
|