1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

PM-26508 when password change is requested, the all-activity table count will change (#16753)

This commit is contained in:
Vijay Oommen
2025-10-08 14:15:59 -05:00
committed by GitHub
parent d747dc30a2
commit ab995045fd
6 changed files with 227 additions and 87 deletions

View File

@@ -35,6 +35,9 @@ export class AllActivitiesService {
passwordChangeProgressMetricHasProgressBar$ =
this.passwordChangeProgressMetricHasProgressBarSubject$.asObservable();
private taskCreatedCountSubject$ = new BehaviorSubject<number>(0);
taskCreatedCount$ = this.taskCreatedCountSubject$.asObservable();
constructor(private dataService: RiskInsightsDataService) {
// All application summary changes
this.dataService.reportResults$.subscribe((report) => {
@@ -85,4 +88,8 @@ export class AllActivitiesService {
setPasswordChangeProgressMetricHasProgressBar(hasProgressBar: boolean) {
this.passwordChangeProgressMetricHasProgressBarSubject$.next(hasProgressBar);
}
setTaskCreatedCount(count: number) {
this.taskCreatedCountSubject$.next(count);
}
}