mirror of
https://github.com/bitwarden/browser
synced 2026-02-06 11:43:51 +00:00
PM-27291 check for undefined
This commit is contained in:
@@ -55,6 +55,9 @@ export class AllActivitiesService {
|
||||
}
|
||||
|
||||
setCriticalAppsReportSummary(summary: OrganizationReportSummary) {
|
||||
if (!summary) {
|
||||
return;
|
||||
}
|
||||
this.reportSummarySubject$.next({
|
||||
...this.reportSummarySubject$.getValue(),
|
||||
totalCriticalApplicationCount: summary.totalApplicationCount,
|
||||
@@ -65,6 +68,10 @@ export class AllActivitiesService {
|
||||
}
|
||||
|
||||
setAllAppsReportSummary(summary: OrganizationReportSummary) {
|
||||
if (!summary) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.reportSummarySubject$.next({
|
||||
...this.reportSummarySubject$.getValue(),
|
||||
totalMemberCount: summary.totalMemberCount,
|
||||
|
||||
Reference in New Issue
Block a user