@lowcodeunit/applications-flow-common 1.38.3-integration → 1.38.5-projectHostFixes

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.
@@ -8310,9 +8310,7 @@ class ProjectCardComponent {
8310
8310
  this.AppRoute = appRoute;
8311
8311
  let tempRouteNode = {
8312
8312
  name: this.AppRoute,
8313
- url: 'https://' +
8314
- this.Project?.Hosts[this.Project?.Hosts?.length - 1] +
8315
- this.AppRoute,
8313
+ url: 'https://' + this.Project?.PrimaryHost + this.AppRoute,
8316
8314
  routerLink: ['/route', this.AppRoute, this.ProjectLookup],
8317
8315
  };
8318
8316
  let tempApps = this.CurrentRouteApplicationLookups;
@@ -8324,7 +8322,7 @@ class ProjectCardComponent {
8324
8322
  lookup: appLookup,
8325
8323
  name: tempApp.Application.Name,
8326
8324
  url: 'https://' +
8327
- this.Project?.Hosts[this.Project?.Hosts?.length - 1] +
8325
+ this.Project?.PrimaryHost +
8328
8326
  this.AppRoute,
8329
8327
  description: tempApp.Application.Description,
8330
8328
  routerLink: [
@@ -8468,9 +8466,7 @@ class RouteCardComponent {
8468
8466
  // routerLink: ['/route', this.AppRoute, this.ProjectLookup],
8469
8467
  let tempRouteNode = {
8470
8468
  name: this.AppRoute,
8471
- url: 'https://' +
8472
- this.Project?.Hosts[this.Project?.Hosts?.length - 1] +
8473
- this.AppRoute,
8469
+ url: 'https://' + this.Project?.PrimaryHost + this.AppRoute,
8474
8470
  routerLink: ['/route', this.AppRoute, this.ProjectLookup],
8475
8471
  };
8476
8472
  let tempApps = this.CurrentRouteApplicationLookups;
@@ -8483,7 +8479,7 @@ class RouteCardComponent {
8483
8479
  lookup: appLookup,
8484
8480
  name: tempApp.Application.Name,
8485
8481
  url: 'https://' +
8486
- this.Project?.Hosts[this.Project?.Hosts?.length - 1] +
8482
+ this.Project?.PrimaryHost +
8487
8483
  appPath,
8488
8484
  description: tempApp.Application.Description,
8489
8485
  routerLink: [
@@ -8648,9 +8644,7 @@ class ApplicationsCardComponent {
8648
8644
  let tempAppNode = {
8649
8645
  lookup: appLookup,
8650
8646
  name: tempApp.Application.Name,
8651
- url: 'https://' +
8652
- this.Project?.Hosts[this.Project?.Hosts?.length - 1] +
8653
- appPath,
8647
+ url: 'https://' + this.Project?.PrimaryHost + appPath,
8654
8648
  description: tempApp.Application.Description,
8655
8649
  routerLink: [
8656
8650
  '/application',
@@ -8676,9 +8670,7 @@ class ApplicationsCardComponent {
8676
8670
  this.AppRoute = appRoute;
8677
8671
  let tempRouteNode = {
8678
8672
  name: this.AppRoute,
8679
- url: 'https://' +
8680
- this.Project?.Hosts[this.Project?.Hosts?.length - 1] +
8681
- this.AppRoute,
8673
+ url: 'https://' + this.Project?.PrimaryHost + this.AppRoute,
8682
8674
  routerLink: ['/route', this.AppRoute, this.ProjectLookup],
8683
8675
  };
8684
8676
  let tempApps = this.CurrentRouteApplicationLookups;
@@ -8690,7 +8682,7 @@ class ApplicationsCardComponent {
8690
8682
  lookup: appLookup,
8691
8683
  name: tempApp.Application.Name,
8692
8684
  url: 'https://' +
8693
- this.Project?.Hosts[this.Project?.Hosts?.length - 1] +
8685
+ this.Project?.PrimaryHost +
8694
8686
  this.AppRoute,
8695
8687
  description: tempApp.Application.Description,
8696
8688
  routerLink: [