tnx-shared 5.3.170 → 5.3.171

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.
@@ -18761,6 +18761,7 @@ class ListComponentBase extends ComponentBase {
18761
18761
  if (!this.serviceCode && this.setting.baseService) {
18762
18762
  this.serviceCode = this.setting.baseService.serviceCode;
18763
18763
  }
18764
+ this.isBtnReady = this.setting.hiddenAuthorizeButton;
18764
18765
  if (this.authorizePath) {
18765
18766
  this.authorizePaths[ComCtxConstants.COMMON.ADD] = `${this.authorizePath}/ADD`;
18766
18767
  this.authorizePaths[ComCtxConstants.COMMON.EDIT] = `${this.authorizePath}/EDIT`;
@@ -22645,13 +22646,9 @@ class ListBase extends ComponentBaseWithButton {
22645
22646
  }
22646
22647
  setAuthorizeButtons() {
22647
22648
  return __awaiter(this, void 0, void 0, function* () {
22648
- if (this.setting.hiddenAuthorizeButton) {
22649
- if (this.crudList) {
22650
- this.crudList.setBtnReady(true);
22651
- }
22652
- return;
22649
+ if (this.crudList && !this.setting.hiddenAuthorizeButton) {
22650
+ this.crudList.setAuthorizeButton(this.lstButtonElement[EnumProperties.RESULTS]);
22653
22651
  }
22654
- this.crudList.setAuthorizeButton(this.lstButtonElement[EnumProperties.RESULTS]);
22655
22652
  });
22656
22653
  }
22657
22654
  beforeRenderDataSource(datasource) {