@smartbit4all/ng-client 3.2.46 → 3.2.47

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.
@@ -12283,6 +12283,13 @@ class SmartGridComponent {
12283
12283
  }
12284
12284
  buttonTranslator(uiAction) {
12285
12285
  let desc = this.uiActionDescriptors.get(uiAction.code);
12286
+ if (!desc) {
12287
+ desc = {
12288
+ title: uiAction.code,
12289
+ type: 'FLAT',
12290
+ color: 'primary',
12291
+ };
12292
+ }
12286
12293
  if (uiAction.descriptor) {
12287
12294
  this.uiActionDescriptorService.mergeActionDescriptorIntoClient(uiAction.descriptor, desc);
12288
12295
  }