@lowcodeunit/applications-flow-common 1.37.168-merge → 1.37.170-oct-bugs

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.
@@ -8272,12 +8272,13 @@ class ProjectCardComponent {
8272
8272
  let tempRouteChildren = [];
8273
8273
  tempApps.forEach((appLookup) => {
8274
8274
  let tempApp = this.RoutedApplications[this.AppRoute][appLookup];
8275
+ let appPath = tempApp.LookupConfig?.PathRegex.substring(0, tempApp.LookupConfig?.PathRegex.length - 2);
8275
8276
  let tempAppNode = {
8276
8277
  lookup: appLookup,
8277
8278
  name: tempApp.Application.Name,
8278
8279
  url: 'https://' +
8279
8280
  tempProj?.Hosts[tempProj?.Hosts?.length - 1] +
8280
- this.AppRoute,
8281
+ appPath,
8281
8282
  description: tempApp.Application.Description,
8282
8283
  routerLink: [
8283
8284
  '/application',
@@ -8478,12 +8479,13 @@ class RouteCardComponent {
8478
8479
  let tempRouteChildren = [];
8479
8480
  tempApps.forEach((appLookup) => {
8480
8481
  let tempApp = this.RoutedApplications[this.AppRoute][appLookup];
8482
+ let appPath = tempApp.LookupConfig?.PathRegex.substring(0, tempApp.LookupConfig?.PathRegex.length - 2);
8481
8483
  let tempAppNode = {
8482
8484
  lookup: appLookup,
8483
8485
  name: tempApp.Application.Name,
8484
8486
  url: 'https://' +
8485
8487
  this.Project?.Hosts[this.Project?.Hosts?.length - 1] +
8486
- this.AppRoute,
8488
+ appPath,
8487
8489
  description: tempApp.Application.Description,
8488
8490
  routerLink: [
8489
8491
  '/application',
@@ -8621,10 +8623,10 @@ class ApplicationsCardComponent {
8621
8623
  }
8622
8624
  ngOnInit() { }
8623
8625
  ngOnChanges() {
8624
- console.log('app bank: ', this.ApplicationsBank);
8626
+ // console.log('app bank: ', this.ApplicationsBank);
8625
8627
  if (this.ApplicationsBank) {
8626
8628
  let temp = this.BuildProjectTree();
8627
- console.log('to string: ', JSON.stringify(temp));
8629
+ // console.log('to string: ', JSON.stringify(temp));
8628
8630
  if (JSON.stringify(this.DataSource.data) !== JSON.stringify(temp)) {
8629
8631
  // console.log('Its different')
8630
8632
  this.DataSource.data = temp;
@@ -8642,12 +8644,14 @@ class ApplicationsCardComponent {
8642
8644
  let tempRouteChildren = [];
8643
8645
  tempApps.forEach((appLookup) => {
8644
8646
  let tempApp = this.RoutedApplications[this.AppRoute][appLookup];
8647
+ console.log('tempApp: ', tempApp);
8648
+ let appPath = tempApp.LookupConfig?.PathRegex.substring(0, tempApp.LookupConfig?.PathRegex.length - 2);
8645
8649
  let tempAppNode = {
8646
8650
  lookup: appLookup,
8647
8651
  name: tempApp.Application.Name,
8648
8652
  url: 'https://' +
8649
8653
  this.Project?.Hosts[this.Project?.Hosts?.length - 1] +
8650
- this.AppRoute,
8654
+ appPath,
8651
8655
  description: tempApp.Application.Description,
8652
8656
  routerLink: [
8653
8657
  '/application',