@sumaris-net/ngx-components 1.21.0-beta7 → 1.21.0-beta8

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.
@@ -30227,9 +30227,9 @@
30227
30227
  console.debug(this._logPrefix + "Loading user events...", filter);
30228
30228
  filter = this.asFilter(filter);
30229
30229
  // Force recipient to current issuer, if not admin and not specified
30230
- if (isEmptyArray(filter.recipients) || !this.accountService.isAdmin()) {
30230
+ if (isEmptyArray(filter === null || filter === void 0 ? void 0 : filter.recipients) || !this.accountService.isAdmin()) {
30231
30231
  var recipient = this.defaultRecipient();
30232
- if (!((_a = filter.recipients) === null || _a === void 0 ? void 0 : _a.includes(recipient))) {
30232
+ if (!((_a = filter === null || filter === void 0 ? void 0 : filter.recipients) === null || _a === void 0 ? void 0 : _a.includes(recipient))) {
30233
30233
  console.warn('[user-events-service] Force user event filter.recipient=' + recipient);
30234
30234
  filter.recipients = [recipient];
30235
30235
  }