ps-toolkit-ui 1.3.44 → 1.3.45
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 +5 -3
- 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 +6 -4
- package/fesm2015/ps-toolkit-ui.js +5 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -7188,9 +7188,11 @@
|
|
|
7188
7188
|
if (v === void 0) { v = null; }
|
|
7189
7189
|
return app.getL("" + c + (a ? "." + a : ''), key, v);
|
|
7190
7190
|
};
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
this.permissions
|
|
7191
|
+
if (app.currentData.user !== null) {
|
|
7192
|
+
this.permissions = this.getPermission(this.c, this.a);
|
|
7193
|
+
if (this.permissions) {
|
|
7194
|
+
this.permissions.Area = app.area;
|
|
7195
|
+
}
|
|
7194
7196
|
}
|
|
7195
7197
|
}
|
|
7196
7198
|
BaseComponent.prototype.getPermission = function (c, a) {
|