OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add missing shareReplay to share the count requests
Oliver Güntherc076fa314033
diff --git a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.tsindex 4320fd95c2c..3fee2ed225a 100644--- a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts+++ b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts@@ -10,6 +10,7 @@ import {import {filter,map,+ shareReplay,switchMap,throttleTime,} from 'rxjs/operators';@@ -41,7 +42,10 @@ export class InAppNotificationBellComponent {unreadCount$ = combineLatest([this.storeService.unread$,this.polling$,- ]).pipe(map(([count]) => count));+ ]).pipe(+ map(([count]) => count),+ shareReplay(1),+ );unreadCountText$ = this.unreadCount$