ps-toolkit-ui 0.0.129 → 0.0.130

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.
@@ -2635,6 +2635,7 @@
2635
2635
  opt.onClick = function (btn) {
2636
2636
  var e_2, _a;
2637
2637
  if (opt.modal.table) {
2638
+ console.log(_this.table.permissions, 'this.table.permissions');
2638
2639
  var p = new PermissionClass();
2639
2640
  p.RelatedId = btn.row.Data.Id;
2640
2641
  p.Area = _this.table.permissions.Area;
@@ -2727,7 +2728,7 @@
2727
2728
  };
2728
2729
  var this_1 = this;
2729
2730
  try {
2730
- for (var _b = __values(this.row.Options), _c = _b.next(); !_c.done; _c = _b.next()) {
2731
+ for (var _b = __values(this.row.Options.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Option; })), _c = _b.next(); !_c.done; _c = _b.next()) {
2731
2732
  var option = _c.value;
2732
2733
  _loop_1(option);
2733
2734
  }