ps-toolkit-ui 0.0.25 → 0.0.26
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 -0
- 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/base.component.js +2 -1
- package/fesm2015/ps-toolkit-ui.js +1 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6880,6 +6880,7 @@
|
|
|
6880
6880
|
}
|
|
6881
6881
|
BaseComponent.prototype.getPermission = function () {
|
|
6882
6882
|
var _this = this;
|
|
6883
|
+
console.log('getPermissiongetPermissiongetPermissiongetPermission');
|
|
6883
6884
|
var p = this.app.currentUser.Permissions.filter(function (per) { return per.Controller === _this.c && (_this.a == null || per.Action === _this.a) &&
|
|
6884
6885
|
per.Type === exports.PermissionTypeEnum.Item; });
|
|
6885
6886
|
return p.length > 0 ? this.getPermissionClass(p[0]) : null;
|