ps-toolkit-ui 1.13.49 → 1.13.51

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.
@@ -6077,8 +6077,8 @@
6077
6077
  _this.inp.table.rows = v === null ? [] : v.map(function (x) {
6078
6078
  return {
6079
6079
  Data: x,
6080
- Options: _this.inp.table.form ? [permissions.getOption(exports.PermissionAccessTypeEnum.Update), permissions.getOption(exports.PermissionAccessTypeEnum.Delete)] :
6081
- [permissions.getOption(exports.PermissionAccessTypeEnum.Delete)]
6080
+ Options: _this.inp.table.form ? permissions.Accesses.filter(function (a) { return a.AccessType === exports.PermissionAccessTypeEnum.Update || a.AccessType === exports.PermissionAccessTypeEnum.Delete; }) :
6081
+ permissions.Accesses.filter(function (a) { return a.AccessType === exports.PermissionAccessTypeEnum.Delete; })
6082
6082
  };
6083
6083
  });
6084
6084
  };