ps-toolkit-ui 0.0.142 → 0.0.146

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.
@@ -2855,6 +2855,7 @@
2855
2855
  _this.table.form.inputs.filter(function (x) { return x.inEditDisabled; }).forEach(function (x) { return x.disabled = true; });
2856
2856
  _this.table.form.inputs.filter(function (x) { return !x.inEditVisible; }).forEach(function (x) { return x.visible = false; });
2857
2857
  if (_this.table.modal) {
2858
+ console.log(_this.table.modal, 'this.table.modal');
2858
2859
  _this.table.modal.show();
2859
2860
  }
2860
2861
  });
@@ -7295,8 +7296,7 @@
7295
7296
  }
7296
7297
  finally { if (e_2) throw e_2.error; }
7297
7298
  }
7298
- if ((this.permissions.hasAccess(exports.PermissionAccessTypeEnum.Insert) ||
7299
- this.permissions.hasOption(exports.PermissionAccessTypeEnum.Update)) && this.form) {
7299
+ if (this.form) {
7300
7300
  this.form.addButtons('Save', 'green', true, this.permissions.Type === exports.PermissionTypeEnum.Form ? function (data) {
7301
7301
  if (data.Id) {
7302
7302
  var i = _this.rows.findIndex(function (x) { return x.Id === data.Id; });