@sumaris-net/ngx-components 2.4.86 → 2.4.88

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.
@@ -11626,12 +11626,16 @@ const environment = Object.freeze({
11626
11626
  },
11627
11627
  {
11628
11628
  host: 'sih.sfa.sc',
11629
- port: 80
11629
+ port: 443
11630
11630
  },
11631
11631
  {
11632
11632
  host: 'test.sumaris.net',
11633
11633
  port: 443
11634
11634
  },
11635
+ {
11636
+ host: 'open.sumaris.net',
11637
+ port: 443
11638
+ },
11635
11639
  {
11636
11640
  host: 'server.e-is.pro',
11637
11641
  port: 443
@@ -23050,9 +23054,12 @@ class AppInstallUpgradeCard {
23050
23054
  // Check for install links
23051
23055
  this.installLinks = this.getCompatibleInstallLinks(links);
23052
23056
  if (isNotEmptyArray(this.installLinks)) {
23053
- console.info(`[install-upgrade-card] Find install links ${this.installLinks.map(l => l.url).join(',')}`);
23057
+ console.info(`[install-upgrade-card] Find installation links ${this.installLinks.map(l => l.url).join(',')}`);
23054
23058
  await sleep(1000); // Add a delay, for animation
23055
23059
  }
23060
+ else {
23061
+ console.info(`[install-upgrade-card] No installation or upgrade links to display.`);
23062
+ }
23056
23063
  }
23057
23064
  }
23058
23065
  finally {
@@ -23061,8 +23068,8 @@ class AppInstallUpgradeCard {
23061
23068
  }
23062
23069
  }
23063
23070
  getCompatibleInstallLinks(installLinks) {
23064
- // Cordova already running: not need to install
23065
- if (this.platform.isCapacitor())
23071
+ // Already an native App: not need to install
23072
+ if (this.platform.isApp())
23066
23073
  return undefined;
23067
23074
  // If mobile web: return all
23068
23075
  if (this.platform.isMobileWeb()) {
@@ -29442,7 +29449,7 @@ class AppEntityEditor extends AppTabEditor {
29442
29449
  }
29443
29450
  async reload() {
29444
29451
  this.markAsLoading();
29445
- await this.load(this.data?.id);
29452
+ await this.load(this.data?.id, { fetchPolicy: "network-only" });
29446
29453
  }
29447
29454
  async unload(opts) {
29448
29455
  await super.unload(opts);