@smartbit4all/ng-client 1.0.15 → 1.0.17
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.
- package/esm2020/lib/smart-client/smart-component-api-client.mjs +5 -2
- package/fesm2015/smartbit4all-ng-client.mjs +4 -1
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +4 -1
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-1.0.17.tgz +0 -0
- package/smartbit4all-ng-client-1.0.15.tgz +0 -0
|
@@ -3748,7 +3748,7 @@ let SmartComponentApiClient = class SmartComponentApiClient {
|
|
|
3748
3748
|
this.reSubscribeToChange = new SmartSubject(this._destroy$);
|
|
3749
3749
|
this.detectChange.subscribe((model) => {
|
|
3750
3750
|
this.model = model;
|
|
3751
|
-
this.data = model.data;
|
|
3751
|
+
// this.data = model.data as any;
|
|
3752
3752
|
});
|
|
3753
3753
|
this.viewContext = inject.get(SmartViewContextService);
|
|
3754
3754
|
this.uiActionService = inject.get(UiActionService);
|
|
@@ -3758,6 +3758,9 @@ let SmartComponentApiClient = class SmartComponentApiClient {
|
|
|
3758
3758
|
return this._uuid;
|
|
3759
3759
|
}
|
|
3760
3760
|
set uuid(uuid) {
|
|
3761
|
+
if (this.uuid) {
|
|
3762
|
+
this.viewContext.unfollow(this.uuid);
|
|
3763
|
+
}
|
|
3761
3764
|
this._uuid = uuid;
|
|
3762
3765
|
this.viewContext.follow(this._uuid, this.detectChange);
|
|
3763
3766
|
}
|