@indice/ng-components 0.2.145-beta → 0.2.146-beta

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.
@@ -2170,7 +2170,7 @@
2170
2170
  };
2171
2171
  ShellHeaderComponent.prototype.getNotificationsCount = function () {
2172
2172
  var _this = this;
2173
- this.notificationLinks.pipe(operators.take(1)).subscribe(function (notifications) {
2173
+ this.notificationLinks.pipe(operators.shareReplay(1)).subscribe(function (notifications) {
2174
2174
  _this.notificationsCount = notifications.filter(function (x) { return !x.isRead; }).length;
2175
2175
  });
2176
2176
  };