ps-toolkit-ui 1.4.40 → 1.4.43
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 +4 -4
- 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/components/table/row/table.row.component.js +5 -5
- package/fesm2015/ps-toolkit-ui.js +4 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2707,16 +2707,16 @@
|
|
|
2707
2707
|
if (opt.modal.accordion) {
|
|
2708
2708
|
var _loop_3 = function (r) {
|
|
2709
2709
|
if (r.table) {
|
|
2710
|
+
var options = Object.assign(Object.create(Object.getPrototypeOf(_this.row.Options)), _this.row.Options);
|
|
2711
|
+
// const options = JSON.parse(JSON.stringify(this.row.Options));
|
|
2712
|
+
console.log(options);
|
|
2710
2713
|
var p = new PermissionClass();
|
|
2711
2714
|
p.RelatedId = _this.row.Data.Id;
|
|
2712
2715
|
p.Area = _this.table.permissions.Area;
|
|
2713
2716
|
p.Controller = option.Controller;
|
|
2714
2717
|
p.Action = r.name;
|
|
2715
|
-
|
|
2716
|
-
p.Accesses = HelperClass.clone(_this.row.Options.filter(function (x) { return x.ParentId === option.Id; }));
|
|
2717
|
-
console.log(p.Accesses);
|
|
2718
|
+
p.Accesses = options.filter(function (x) { return x.ParentId === option.Id; });
|
|
2718
2719
|
p.Accesses.forEach(function (x) { return x.Url = x.Url.replace('{action}', r.name.toLowerCase()); });
|
|
2719
|
-
console.log(p.Accesses);
|
|
2720
2720
|
r.table.permissions = p;
|
|
2721
2721
|
if (r.table.form) {
|
|
2722
2722
|
r.table.form.url = option.Url + 'insert';
|