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.
@@ -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
- this.permissions = this.getPermission(this.c, this.a);
7192
- if (this.permissions) {
7193
- this.permissions.Area = app.area;
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) {