ps-toolkit-ui 0.0.33 → 0.0.34

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.
@@ -6893,6 +6893,7 @@
6893
6893
  }
6894
6894
  }
6895
6895
  BaseComponent.prototype.getPermission = function (c, a) {
6896
+ if (a === void 0) { a = null; }
6896
6897
  var p = this.app.currentUser.Permissions.filter(function (per) { return per.Controller === c && (a == null || per.Action === a) &&
6897
6898
  per.Type === exports.PermissionTypeEnum.Item; });
6898
6899
  return p.length > 0 ? this.getPermissionClass(p[0]) : null;