ps-toolkit-ui 0.0.4 → 0.0.5

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.
@@ -2493,7 +2493,7 @@
2493
2493
  TableRowComponent.prototype.getOptions = function () {
2494
2494
  var _this = this;
2495
2495
  return (this.addChildren !== null && (this.table.level === null || this.table.level > this.level) ? [this.addChildren] : [])
2496
- .concat(this.table.options.filter(function (x) { return x.condition == null || x.condition(_this.row); }).map(function (o) {
2496
+ .concat(this.table.options.filter(function (x) { return x.condition == null || _this.row[x.condition]; }).map(function (o) {
2497
2497
  var i = HelperClass.clone(o);
2498
2498
  if (i.url) {
2499
2499
  i.url = i.url.replace('{}', _this.row.Id);
@@ -7115,7 +7115,6 @@
7115
7115
  if (this_1.options.filter(function (x) { return x.name === option.Name; }).length > 0) {
7116
7116
  return "continue";
7117
7117
  }
7118
- console.log(option, 'option');
7119
7118
  var opt = new InputClass(this_1.environment, this_1.l, option.Name, option.Icon, exports.InputType.Icon, 'blue h-25 m-h-5 d-ib va-m f-u');
7120
7119
  opt.condition = option.Condition;
7121
7120
  if (option.Type === exports.PermissionTypeEnum.OptionLink || option.Type === exports.PermissionTypeEnum.OptionLinkNewTab) {