@smartbit4all/ng-client 2.0.4 → 2.0.5

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.
@@ -5970,8 +5970,12 @@ let SmartComponentApiClient = class SmartComponentApiClient {
5970
5970
  }
5971
5971
  }
5972
5972
  async load() {
5973
- this.uuid = this.viewContext.getUuidOfPage(this.pageName);
5974
- this.model = await this.viewContext.load(this.uuid);
5973
+ if (this.uuid) {
5974
+ this.viewContext.unfollow(this.uuid);
5975
+ }
5976
+ let uuid = this.viewContext.getUuidOfPage(this.pageName);
5977
+ this.model = await this.viewContext.load(uuid);
5978
+ this.uuid = uuid;
5975
5979
  }
5976
5980
  //#region UseUiAction
5977
5981
  getAdditionalParams(uiAction) {