@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.
- package/esm2020/lib/smart-grid/smart-grid.component.mjs +8 -1
- package/fesm2015/smartbit4all-ng-client.mjs +7 -0
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +7 -0
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-grid/smart-grid.component.d.ts +2 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.2.47.tgz +0 -0
- package/smartbit4all-ng-client-3.2.46.tgz +0 -0
|
@@ -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
|
}
|