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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user