monkey-front-core 0.0.471 → 0.0.474

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.
@@ -2720,6 +2720,7 @@ class Link {
2720
2720
  constructor(data) {
2721
2721
  this.href = data?.href;
2722
2722
  this.type = data?.type;
2723
+ this.profile = data?.profile;
2723
2724
  this.templated = data?.templated;
2724
2725
  }
2725
2726
  }
@@ -2734,7 +2735,7 @@ class MonkeyEcxModel {
2734
2735
  const { from, to } = replaceOptions;
2735
2736
  link = new Link({
2736
2737
  ...link,
2737
- href: `${link.href}`.replace(from, to),
2738
+ href: `${link.href}`.replace(from, to)
2738
2739
  });
2739
2740
  }
2740
2741
  return link;
@@ -5754,11 +5755,12 @@ class MonkeyEcxCommonsStoreBaseService extends MonkeyEcxCommonsService {
5754
5755
  try {
5755
5756
  const data = await this.monkeyecxService?.get(url).toPromise();
5756
5757
  this.handleResponseData(data, updateLinks);
5758
+ this.updateControl({ isLoading: false });
5757
5759
  }
5758
5760
  catch (e) {
5761
+ this.updateControl({ isLoading: false });
5759
5762
  throw new Error(`${e?.message}`);
5760
5763
  }
5761
- this.updateControl({ isLoading: false });
5762
5764
  }
5763
5765
  async loadPageData(pagination) {
5764
5766
  const { store, selector } = this;