ps-toolkit-ui 0.0.143 → 0.0.144
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.
- package/bundles/ps-toolkit-ui.umd.js +1 -6
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/table.class.js +2 -7
- package/fesm2015/ps-toolkit-ui.js +1 -6
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -7295,9 +7295,7 @@
|
|
|
7295
7295
|
}
|
|
7296
7296
|
finally { if (e_2) throw e_2.error; }
|
|
7297
7297
|
}
|
|
7298
|
-
|
|
7299
|
-
if ((this.permissions.hasAccess(exports.PermissionAccessTypeEnum.Insert) ||
|
|
7300
|
-
this.permissions.hasOption(exports.PermissionAccessTypeEnum.Update)) && this.form) {
|
|
7298
|
+
if (this.form) {
|
|
7301
7299
|
this.form.addButtons('Save', 'green', true, this.permissions.Type === exports.PermissionTypeEnum.Form ? function (data) {
|
|
7302
7300
|
if (data.Id) {
|
|
7303
7301
|
var i = _this.rows.findIndex(function (x) { return x.Id === data.Id; });
|
|
@@ -7321,10 +7319,7 @@
|
|
|
7321
7319
|
else {
|
|
7322
7320
|
if (!this.modal) {
|
|
7323
7321
|
this.modal = new ModalClass(this.environment, this.l, this.name);
|
|
7324
|
-
console.log(this.modal, 'this.modal');
|
|
7325
|
-
console.log(this.name, 'this.name');
|
|
7326
7322
|
}
|
|
7327
|
-
console.log(this.form, 'this.form');
|
|
7328
7323
|
this.modal.form = this.form;
|
|
7329
7324
|
}
|
|
7330
7325
|
}
|