@lowcodeunit/applications-flow-common 1.33.224-lets-get-social-ish → 1.33.227-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.
@@ -548,7 +548,7 @@ class ProjectService {
548
548
  if (response.Status.Code === 0) {
549
549
  this.EditingProjectLookup = null;
550
550
  state.ActiveEnterpriseLookup = activeEntLookup;
551
- var results = Promise.all([
551
+ var results = await Promise.all([
552
552
  this.LoadEnterpriseAsCode(state),
553
553
  this.LoadUserFeed(1, 25, state)
554
554
  ]);
@@ -571,7 +571,7 @@ class ProjectService {
571
571
  state.Loading = true;
572
572
  this.appsFlowSvc.SaveEnterpriseAsCode(eac).subscribe(async (response) => {
573
573
  if (response.Status.Code === 0) {
574
- var results = Promise.all([
574
+ var results = await Promise.all([
575
575
  this.LoadEnterpriseAsCode(state),
576
576
  this.LoadUserFeed(1, 25, state)
577
577
  ]);
@@ -5308,7 +5308,7 @@ class BreadcrumbComponent {
5308
5308
  this.SkeletonEffect = 'wave';
5309
5309
  }
5310
5310
  get Enterprise() {
5311
- return this.State.Enterprises?.find((ent) => ent.Lookup == this.State.ActiveEnterpriseLookup);
5311
+ return this.State.Enterprises?.find((ent) => ent.Lookup == this.State.ActiveEnterpriseLookup) || this.State.Enterprises?.length > 0 ? this.State.Enterprises[0] : {};
5312
5312
  }
5313
5313
  get ApplicationsBank() {
5314
5314
  return this.State?.EaC?.Applications || {};