ps-toolkit-ui 1.8.70 → 1.8.72

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.
@@ -2350,7 +2350,8 @@
2350
2350
  SidebarComponent.prototype.getSidebar = function (parentId) {
2351
2351
  var _this = this;
2352
2352
  if (parentId === void 0) { parentId = null; }
2353
- return this.currentData.permissions.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Item && x.ParentId === parentId && x.Area !== null; }).map(function (s) {
2353
+ console.log(this.currentData.permissions.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Item && x.ParentId === parentId; }));
2354
+ return this.currentData.permissions.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Item && x.ParentId === parentId; }).map(function (s) {
2354
2355
  return new SidebarClass(_this.l, s.Id, s.Name, s.Controller, s.Action, s.Url, s.Icon, _this.getSidebar(s.Id), s.Count);
2355
2356
  });
2356
2357
  };