@smartbit4all/ng-client 3.3.195 → 3.3.196

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.
@@ -5214,7 +5214,8 @@ class UiActionToolbarComponent {
5214
5214
  let uiActionModelsWithDescriptions = [];
5215
5215
  for (const uiActionModel of this.uiActionModels) {
5216
5216
  const uiAction = uiActionModel.uiAction;
5217
- if (this.id === uiAction.toolbar) {
5217
+ // using equality is a must here, undefined and null should be equal
5218
+ if (this.id == uiAction.toolbar) {
5218
5219
  uiActionModel.descriptor = await this.manager.getActionDescriptor(uiActionModel.uiAction);
5219
5220
  uiActionModelsWithDescriptions.push(uiActionModel);
5220
5221
  }