@lowcodeunit/applications-flow-common 1.35.2-lets-get-social-ish → 1.35.3-lets-get-social-ish

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.
@@ -367,11 +367,11 @@ class ProjectService {
367
367
  state.Loading = true;
368
368
  this.appsFlowSvc.EnterpriseAsCodeRemovals(eac).subscribe(async (response) => {
369
369
  if (response.Status.Code === 0) {
370
+ resolve(response.Status);
370
371
  var results = await Promise.all([
371
372
  this.LoadEnterpriseAsCode(state),
372
373
  this.LoadUserFeed(1, 25, state),
373
374
  ]);
374
- resolve(response.Status);
375
375
  }
376
376
  else {
377
377
  state.Loading = false;
@@ -544,11 +544,11 @@ class ProjectService {
544
544
  console.log('project service active ent: ', activeEntLookup);
545
545
  state.ActiveEnterpriseLookup = activeEntLookup;
546
546
  console.log('project service State active ent: ', state.ActiveEnterpriseLookup);
547
+ resolve(response.Status);
547
548
  var results = await Promise.all([
548
549
  this.LoadEnterpriseAsCode(state),
549
550
  this.LoadUserFeed(1, 25, state),
550
551
  ]);
551
- resolve(results[0]);
552
552
  }
553
553
  else {
554
554
  state.Loading = false;
@@ -567,11 +567,11 @@ class ProjectService {
567
567
  state.Loading = true;
568
568
  this.appsFlowSvc.SaveEnterpriseAsCode(eac).subscribe(async (response) => {
569
569
  if (response.Status.Code === 0) {
570
+ resolve(response.Status);
570
571
  var results = await Promise.all([
571
572
  this.LoadEnterpriseAsCode(state),
572
573
  this.LoadUserFeed(1, 25, state),
573
574
  ]);
574
- resolve(response.Status);
575
575
  }
576
576
  else {
577
577
  state.Loading = false;
@@ -614,11 +614,11 @@ class ProjectService {
614
614
  state.Loading = true;
615
615
  this.appsFlowSvc.SubmitFeedEntry(entry).subscribe(async (response) => {
616
616
  if (response.Status.Code === 0) {
617
+ resolve(response.Status);
617
618
  var results = await Promise.all([
618
619
  this.LoadEnterpriseAsCode(state),
619
620
  this.LoadUserFeed(1, 25, state),
620
621
  ]);
621
- resolve(response.Status);
622
622
  }
623
623
  else {
624
624
  state.Loading = false;
@@ -640,8 +640,11 @@ class ProjectService {
640
640
  state.Loading = true;
641
641
  this.appsFlowSvc.UnpackLowCodeUnit(req).subscribe(async (response) => {
642
642
  if (response.Status.Code === 0) {
643
- const eac = await this.LoadEnterpriseAsCode(state);
644
- resolve(eac);
643
+ resolve(response.Status);
644
+ var results = await Promise.all([
645
+ this.LoadEnterpriseAsCode(state),
646
+ this.LoadUserFeed(1, 25, state),
647
+ ]);
645
648
  }
646
649
  else {
647
650
  state.Loading = false;