ps-toolkit-ui 0.0.104 → 0.0.108

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.
@@ -7127,7 +7127,12 @@
7127
7127
  var reportAccess = this.permissions.getAccess('Report');
7128
7128
  if (reportAccess != null) {
7129
7129
  var report = new InputClass(this.environment, this.l, reportAccess.Name, reportAccess.Icon, exports.InputType.Button, 'm-h-5');
7130
- report.url = this.url + 'Report';
7130
+ var p = new PermissionClass();
7131
+ p.RelatedId = 'Index';
7132
+ p.Area = this.permissions.Area;
7133
+ p.Controller = 'Print';
7134
+ p.Action = this.permissions.Controller;
7135
+ report.url = '/Report' + p.getUrl();
7131
7136
  report.urlNewTab = true;
7132
7137
  this.extraButtons.push(report);
7133
7138
  }