ps-toolkit-ui 0.0.62 → 0.0.63

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.
@@ -5106,13 +5106,6 @@
5106
5106
  return c.length > 0 ? c[0] : null;
5107
5107
  };
5108
5108
  PermissionClass.prototype.getUrl = function () {
5109
- console.log(this.Area, 'Area');
5110
- console.log(this.Controller, 'Controller');
5111
- console.log(this.RelatedId, 'RelatedId');
5112
- console.log(this.Action, 'Action');
5113
- console.log((this.Area ? '/' + this.Area : '') + '/' + this.Controller + '/' +
5114
- (this.RelatedId ? this.RelatedId + "/" : '') +
5115
- (this.Action ? this.Action : ''));
5116
5109
  return (this.Area ? '/' + this.Area : '') + '/' + this.Controller + '/' +
5117
5110
  (this.RelatedId ? this.RelatedId + "/" : '') +
5118
5111
  (this.Action ? this.Action : '');
@@ -7254,7 +7247,7 @@
7254
7247
  p.RelatedId = this_1.permissions.RelatedId;
7255
7248
  p.Area = this_1.permissions.Area;
7256
7249
  p.Controller = this_1.permissions.Controller;
7257
- p.Action = this_1.permissions.Action + option.Action;
7250
+ p.Action = (this_1.permissions.Action ? this_1.permissions.Action : '') + option.Action;
7258
7251
  opt.url = '/File' + p.getUrl() + '/{}';
7259
7252
  opt.urlNewTab = true;
7260
7253
  }