ps-toolkit-ui 1.4.44 → 1.4.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.
@@ -2670,7 +2670,7 @@
2670
2670
  };
2671
2671
  }
2672
2672
  else if (option.AccessType === exports.PermissionAccessTypeEnum.Report) {
2673
- opt.url = '/Report' + option.Url + '/' + this_2.row.Data.Id;
2673
+ opt.url = '/report' + option.Url.replace('{}', this_2.row.Data.Id);
2674
2674
  opt.urlNewTab = true;
2675
2675
  }
2676
2676
  else if (option.InputAction === exports.PermissionInputActionEnum.Link || option.InputAction === exports.PermissionInputActionEnum.LinkNewTab) {
@@ -2707,7 +2707,7 @@
2707
2707
  if (opt.modal.accordion) {
2708
2708
  var _loop_3 = function (r) {
2709
2709
  if (r.table) {
2710
- var options = _this.row.Options.slice();
2710
+ var options = JSON.parse(JSON.stringify(_this.row.Options));
2711
2711
  console.log(options);
2712
2712
  var p = new PermissionClass();
2713
2713
  p.RelatedId = _this.row.Data.Id;