@smartbit4all/ng-client 3.3.35 → 3.3.37

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.
@@ -8270,10 +8270,12 @@ class UiActionToolbarComponent {
8270
8270
  this.setUp();
8271
8271
  }
8272
8272
  ngOnChanges(changes) {
8273
- let uiActionModels = changes['uiActionModels'].currentValue;
8274
- if (uiActionModels) {
8275
- this.uiActionModels = uiActionModels;
8276
- this.setUp();
8273
+ if (changes['uiActionModels']) {
8274
+ let uiActionModels = changes['uiActionModels'].currentValue;
8275
+ if (uiActionModels) {
8276
+ this.uiActionModels = uiActionModels;
8277
+ this.setUp();
8278
+ }
8277
8279
  }
8278
8280
  }
8279
8281
  ngOnDestroy() {
@@ -14522,6 +14524,10 @@ class SmartComponentApiClient {
14522
14524
  grid.smartGrid.uiActionDescriptorService = this.uiActionDescriptorService;
14523
14525
  grid.smartGrid.serviceToUse = this;
14524
14526
  grid.smartGrid.viewContextService = this.viewContext;
14527
+ grid.setupToolbar();
14528
+ if (grid.toolbar) {
14529
+ this.initActions();
14530
+ }
14525
14531
  }
14526
14532
  if (this.uuid && this.uuid !== grid.uuid)
14527
14533
  grid.uuid = this.uuid;