@indice/ng-components 0.2.159-beta.1 → 0.2.159-beta.3

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.
@@ -2086,7 +2086,7 @@ class NotificationsIndicatorComponent {
2086
2086
  this.links['notifications'].subscribe(notificationsLink => {
2087
2087
  this.allNotificationsLink = notificationsLink;
2088
2088
  });
2089
- this.notificationsSub$ = this.notifications.messages.subscribe(result => {
2089
+ this.notificationsSub$ = this.notifications?.messages.subscribe(result => {
2090
2090
  if (result.items) {
2091
2091
  this.newArrival = true;
2092
2092
  this.unreadCount = result.count;
@@ -2096,7 +2096,7 @@ class NotificationsIndicatorComponent {
2096
2096
  });
2097
2097
  }
2098
2098
  doInboxAction() {
2099
- if (this.notifications.inboxAction) {
2099
+ if (this.notifications?.inboxAction) {
2100
2100
  this.notifications.inboxAction();
2101
2101
  }
2102
2102
  else {