ps-toolkit-ui 1.4.37 → 1.4.40
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 +3 -1
- 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 +4 -2
- package/fesm2015/ps-toolkit-ui.js +3 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2713,8 +2713,10 @@
|
|
|
2713
2713
|
p.Controller = option.Controller;
|
|
2714
2714
|
p.Action = r.name;
|
|
2715
2715
|
console.log(r.name);
|
|
2716
|
-
p.Accesses = _this.row.Options.filter(function (x) { return x.ParentId === option.Id; });
|
|
2716
|
+
p.Accesses = HelperClass.clone(_this.row.Options.filter(function (x) { return x.ParentId === option.Id; }));
|
|
2717
|
+
console.log(p.Accesses);
|
|
2717
2718
|
p.Accesses.forEach(function (x) { return x.Url = x.Url.replace('{action}', r.name.toLowerCase()); });
|
|
2719
|
+
console.log(p.Accesses);
|
|
2718
2720
|
r.table.permissions = p;
|
|
2719
2721
|
if (r.table.form) {
|
|
2720
2722
|
r.table.form.url = option.Url + 'insert';
|