@smartbit4all/ng-client 3.3.194 → 3.3.195

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.
@@ -5213,8 +5213,11 @@ class UiActionToolbarComponent {
5213
5213
  if (this.uiActionModels) {
5214
5214
  let uiActionModelsWithDescriptions = [];
5215
5215
  for (const uiActionModel of this.uiActionModels) {
5216
- uiActionModel.descriptor = await this.manager.getActionDescriptor(uiActionModel.uiAction);
5217
- uiActionModelsWithDescriptions.push(uiActionModel);
5216
+ const uiAction = uiActionModel.uiAction;
5217
+ if (this.id === uiAction.toolbar) {
5218
+ uiActionModel.descriptor = await this.manager.getActionDescriptor(uiActionModel.uiAction);
5219
+ uiActionModelsWithDescriptions.push(uiActionModel);
5220
+ }
5218
5221
  }
5219
5222
  this.uiActionModelsWithDescriptions = uiActionModelsWithDescriptions;
5220
5223
  this.changeDetector.markForCheck();