ps-toolkit-ui 1.4.26 → 1.4.27

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.
@@ -7424,7 +7424,7 @@
7424
7424
  TableClass.prototype.showInsertModal = function (cId) {
7425
7425
  if (cId === void 0) { cId = null; }
7426
7426
  var insertAccess = this.permissions.getAccess(exports.PermissionAccessTypeEnum.Insert);
7427
- this.form.url = this.form.baseUrl = insertAccess.Url + (cId ? '/' + cId : '');
7427
+ this.form.url = this.form.baseUrl = insertAccess.Url.replace('{}', this.permissions.RelatedId) + (cId ? '/' + cId : '');
7428
7428
  this.form.name = insertAccess.Name;
7429
7429
  this.form.method = exports.Method.Post;
7430
7430
  this.form.inputs.filter(function (x) { return x.inEditDisabled; }).forEach(function (x) { return x.disabled = false; });
@@ -7461,7 +7461,6 @@
7461
7461
  if (access.AccessType === exports.PermissionAccessTypeEnum.Insert) {
7462
7462
  accessInp.class = accessInp.class.replace('blue', 'green');
7463
7463
  if (this_1.form) {
7464
- console.log(access.Url.replace('{}', this_1.permissions.RelatedId), access);
7465
7464
  this_1.form.url = this_1.form.baseUrl = access.Url.replace('{}', this_1.permissions.RelatedId);
7466
7465
  if (!this_1.form.onTop) {
7467
7466
  accessInp.onClick = function () {