ps-toolkit-ui 0.0.26 → 0.0.27

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.
@@ -6895,9 +6895,9 @@
6895
6895
  var _this = this;
6896
6896
  console.log('--------------');
6897
6897
  console.log(parentId);
6898
- console.log(this.app.currentUser.Permissions.filter(function (x) { return x.ParentId = parentId; }));
6898
+ console.log(this.app.currentUser.Permissions.filter(function (x) { return x.ParentId === parentId; }));
6899
6899
  console.log('--------------');
6900
- return this.app.currentUser.Permissions.filter(function (x) { return x.ParentId = parentId; }).map(function (x) { return _this.getPermissionClass(x); });
6900
+ return this.app.currentUser.Permissions.filter(function (x) { return x.ParentId === parentId; }).map(function (x) { return _this.getPermissionClass(x); });
6901
6901
  };
6902
6902
  BaseComponent.prototype.hasAccess = function (a) {
6903
6903
  return this.permissions ? this.permissions.hasAccess(a) : false;