ps-toolkit-ui 1.8.12 → 1.8.13

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.
@@ -2876,7 +2876,9 @@
2876
2876
  if (r.table) {
2877
2877
  var options = JSON.parse(JSON.stringify(_this.row.Options));
2878
2878
  console.log(options);
2879
- var rowOption_1 = options.find(function (x) { return x.ParentId === option.Id && x.Action === option.Action; });
2879
+ console.log(option);
2880
+ console.log(r);
2881
+ var rowOption_1 = options.find(function (x) { return x.ParentId === option.Id && x.Action === r.name; });
2880
2882
  console.log(options.filter(function (x) { return x.ParentId === rowOption_1.Id; }));
2881
2883
  var p = new PermissionClass();
2882
2884
  p.RelatedId = _this.row.Data.Id;