ps-toolkit-ui 1.8.72 → 1.8.74
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 -2
- 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/form/tree/form.tree.component.js +2 -2
- package/esm2015/lib/components/sidebar/sidebar.component.js +1 -2
- package/fesm2015/ps-toolkit-ui.js +1 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2350,7 +2350,6 @@
|
|
|
2350
2350
|
SidebarComponent.prototype.getSidebar = function (parentId) {
|
|
2351
2351
|
var _this = this;
|
|
2352
2352
|
if (parentId === void 0) { parentId = null; }
|
|
2353
|
-
console.log(this.currentData.permissions.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Item && x.ParentId === parentId; }));
|
|
2354
2353
|
return this.currentData.permissions.filter(function (x) { return x.Type === exports.PermissionTypeEnum.Item && x.ParentId === parentId; }).map(function (s) {
|
|
2355
2354
|
return new SidebarClass(_this.l, s.Id, s.Name, s.Controller, s.Action, s.Url, s.Icon, _this.getSidebar(s.Id), s.Count);
|
|
2356
2355
|
});
|
|
@@ -6380,8 +6379,8 @@
|
|
|
6380
6379
|
if (r.selected) {
|
|
6381
6380
|
this.checkParent(r.parent);
|
|
6382
6381
|
}
|
|
6383
|
-
this.setValue(ids, r.children);
|
|
6384
6382
|
}
|
|
6383
|
+
this.setValue(ids, r.children);
|
|
6385
6384
|
}
|
|
6386
6385
|
}
|
|
6387
6386
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|