ps-toolkit-ui 1.20.15 → 1.20.16

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.
@@ -9549,7 +9549,8 @@
9549
9549
  p.Controller = 'print';
9550
9550
  p.Action = _this.permissions.Controller + (_this.permissions.Action ? _this.permissions.Action : '');
9551
9551
  var params = $$1.param(_this.searchData(true));
9552
- window.open('/report' + _this.getUrl(access.Url) + (params ? '?' + params : ''), '_blank');
9552
+ var u = _this.getUrl(access.Url);
9553
+ window.open('/report' + u + (params ? (u.includes('?') ? '&' : '?') + params : ''), '_blank');
9553
9554
  };
9554
9555
  }
9555
9556
  else if (access.InputAction === exports.PermissionInputActionEnum.Modal) {
@@ -9602,7 +9603,8 @@
9602
9603
  if (option.AccessType === exports.PermissionAccessTypeEnum.Report) {
9603
9604
  opt.onClick = function () {
9604
9605
  var params = _this.data().map(function (x) { return 'Ids=' + x.Id; }).join('&');
9605
- window.open('/report' + _this.getOptionUrl(option.Url, _this.permissions.RelatedId, '') + (params ? '?' + params : ''), '_blank');
9606
+ var u = _this.getOptionUrl(option.Url, _this.permissions.RelatedId, '');
9607
+ window.open('/report' + u + (params ? (u.includes('?') ? '&' : '?') + params : ''), '_blank');
9606
9608
  };
9607
9609
  }
9608
9610
  else if (option.InputAction === exports.PermissionInputActionEnum.OnClick) {