@smartbit4all/ng-client 3.3.193 → 3.3.194

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.
@@ -7067,19 +7067,6 @@ class Table {
7067
7067
  }
7068
7068
  getValue(element, header) {
7069
7069
  return SmartObjectUtility.getValueByPath(element, header);
7070
- // let headers = header.split('.');
7071
- // if (headers.length > 1) {
7072
- // let value: any = element;
7073
- // for (let index = 0; index < headers.length; index++) {
7074
- // const element = headers[index];
7075
- // value = value[element];
7076
- // if (!value && index !== headers.length - 1) {
7077
- // return undefined;
7078
- // }
7079
- // }
7080
- // return value;
7081
- // }
7082
- // return element[header];
7083
7070
  }
7084
7071
  showButton(button, element) {
7085
7072
  if (button.showButtonIf) {
@@ -15523,7 +15510,9 @@ class SmartComponentApiClient {
15523
15510
  uiAction,
15524
15511
  };
15525
15512
  });
15526
- let toolbars = this.getAllSmartUiActionToolbars().filter((toolbar) => toolbar.id);
15513
+ const allToolbars = this.getAllSmartUiActionToolbars();
15514
+ let toolbars = allToolbars.filter((toolbar) => toolbar.id);
15515
+ let toolbarsWithoutId = this.getAllSmartUiActionToolbars().filter((toolbar) => toolbar.id === undefined || toolbar.id === null);
15527
15516
  let toolbarModels = new Map();
15528
15517
  toolbars.forEach((toolbar) => {
15529
15518
  toolbarModels.set(toolbar.id, []);
@@ -15545,6 +15534,9 @@ class SmartComponentApiClient {
15545
15534
  toolbar.uiActionModels = toolbarModels.get(toolbar.id);
15546
15535
  await toolbar.setUp();
15547
15536
  });
15537
+ toolbarsWithoutId.forEach(async (toolbar) => {
15538
+ await toolbar.setUp();
15539
+ });
15548
15540
  this.changeDetector?.detectChanges();
15549
15541
  }
15550
15542
  }