ps-toolkit-ui 0.0.49 → 0.0.50

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.
@@ -5084,7 +5084,7 @@
5084
5084
  return this.Accesses.filter(function (x) { return x.Action === a && x.Type === exports.PermissionTypeEnum.Access; }).length > 0;
5085
5085
  };
5086
5086
  PermissionClass.prototype.deleteAccess = function (a) {
5087
- this.Accesses = this.Accesses.filter(function (x) { return x.Action !== a && x.Type === exports.PermissionTypeEnum.Access; });
5087
+ this.Accesses = this.Accesses.filter(function (x) { return x.Action !== a && x.Type !== exports.PermissionTypeEnum.Access; });
5088
5088
  };
5089
5089
  PermissionClass.prototype.hasOption = function (a) {
5090
5090
  return this.Accesses.filter(function (x) { return x.Action === a && x.Type !== exports.PermissionTypeEnum.Access; }).length > 0;
@@ -5097,7 +5097,7 @@
5097
5097
  return c.length > 0 ? c[0] : null;
5098
5098
  };
5099
5099
  PermissionClass.prototype.deleteOption = function (a) {
5100
- this.Accesses = this.Accesses.filter(function (x) { return x.Action !== a && x.Type !== exports.PermissionTypeEnum.Access; });
5100
+ this.Accesses = this.Accesses.filter(function (x) { return x.Action !== a && x.Type === exports.PermissionTypeEnum.Access; });
5101
5101
  };
5102
5102
  PermissionClass.prototype.getUrl = function () {
5103
5103
  return (this.Area ? '/' + this.Area : '') + '/' + this.Controller + '/' +