ps-toolkit-ui 1.4.49 → 1.4.52

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.
@@ -2586,7 +2586,7 @@
2586
2586
  inp.tooltip = option.Name;
2587
2587
  inp.onChange = function () {
2588
2588
  _this.row.Data[option.Action] = !inp.data();
2589
- new RequestClass(_this.table.environment, _this.table.l).send(option.url + '/' + _this.row.Data.Id, exports.Method.Post, null, null, function () {
2589
+ new RequestClass(_this.table.environment, _this.table.l).send(option.Url.replace('{}', _this.row.Data.Id), exports.Method.Post, null, null, function () {
2590
2590
  });
2591
2591
  };
2592
2592
  inp.displayLabel = false;
@@ -7450,10 +7450,6 @@
7450
7450
  var listAccess = this.permissions.getAccess(exports.PermissionAccessTypeEnum.List);
7451
7451
  if (listAccess !== null) {
7452
7452
  this.title = listAccess.Name;
7453
- console.log(listAccess);
7454
- console.log(listAccess.Url);
7455
- console.log(this.permissions.RelatedId);
7456
- console.log(listAccess.Url.replace('{}', this.permissions.RelatedId));
7457
7453
  this.url = listAccess.Url.replace('{}', this.permissions.RelatedId);
7458
7454
  if (this.permissions.Type !== exports.PermissionTypeEnum.Form) {
7459
7455
  this.load();