ps-toolkit-ui 0.0.140 → 0.0.141

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.
@@ -2590,7 +2590,10 @@
2590
2590
  var _loop_1 = function (option) {
2591
2591
  var opt = new InputClass(this_1.table.environment, this_1.table.l, option.Name, option.Icon, option.InputType === exports.PermissionInputTypeEnum.Icon ? exports.InputType.Icon : exports.InputType.Button, 'blue h-25 m-h-5 d-ib va-m f-u');
2592
2592
  opt.row = this_1.row;
2593
- if (option.AcceessType === exports.PermissionAccessTypeEnum.Update) {
2593
+ console.log(option, 'option');
2594
+ console.log(option.AccessType, 'option.AccessType');
2595
+ console.log(opt, 'opt');
2596
+ if (option.AccessType === exports.PermissionAccessTypeEnum.Update) {
2594
2597
  if (this_1.table.form) {
2595
2598
  opt.onClick = function () {
2596
2599
  _this.table.form.url = _this.table.url + 'Update/' + _this.row.Data.Id;
@@ -2621,7 +2624,7 @@
2621
2624
  opt.url = this_1.table.url + '/Update/' + this_1.row.Data.Id;
2622
2625
  }
2623
2626
  }
2624
- else if (option.AcceessType === exports.PermissionAccessTypeEnum.Delete) {
2627
+ else if (option.AccessType === exports.PermissionAccessTypeEnum.Delete) {
2625
2628
  console.log(option, 'option');
2626
2629
  console.log(opt, 'opt');
2627
2630
  opt.class = opt.class.replace('blue', 'red');