@smartbit4all/ng-client 1.1.0 → 1.1.2

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.
@@ -2395,7 +2395,7 @@ class SmartViewContextService {
2395
2395
  changes.forEach((componentModelChange) => {
2396
2396
  let detectChange = this.smartApiClients.get(componentModelChange.uuid);
2397
2397
  if (detectChange) {
2398
- detectChange.next(componentModelChange.value);
2398
+ detectChange.next(componentModelChange);
2399
2399
  }
2400
2400
  });
2401
2401
  }
@@ -3996,11 +3996,11 @@ let SmartComponentApiClient = class SmartComponentApiClient {
3996
3996
  smartGrid.uiActionDescriptorService = this.uiActionDescriptorService;
3997
3997
  smartGrid.serviceToUse = this;
3998
3998
  smartGrid.viewContextService = this.viewContext;
3999
+ this.widgets.addWidget(smartGrid.gridIdentifier, componentReference);
3999
4000
  if (useAsDefaultGrid) {
4000
4001
  this.smartGrid = smartGrid;
4001
4002
  return this.smartGrid;
4002
4003
  }
4003
- this.widgets.addWidget(smartGrid.gridIdentifier, componentReference);
4004
4004
  return smartGrid;
4005
4005
  }
4006
4006
  addForm(smartFormId, smartForm, componentReference) {