mirror of
https://github.com/bitwarden/browser
synced 2026-02-08 12:40:26 +00:00
PM-20577 fixed errors
This commit is contained in:
@@ -38,7 +38,7 @@ export class RiskInsightsApiService {
|
||||
});
|
||||
|
||||
if (dbResponse instanceof Error) {
|
||||
return from(null as Promise<GetRiskInsightsReportResponse>);
|
||||
return null;
|
||||
}
|
||||
return from(dbResponse as Promise<GetRiskInsightsReportResponse>);
|
||||
}
|
||||
|
||||
@@ -89,7 +89,16 @@ export class AllApplicationsComponent implements OnInit {
|
||||
data: ApplicationHealthReportDetailWithCriticalFlag[];
|
||||
organization: Organization;
|
||||
summary: ApplicationHealthReportSummary;
|
||||
}>(null);
|
||||
}>({
|
||||
data: [],
|
||||
organization: new Organization(),
|
||||
summary: {
|
||||
totalMemberCount: 0,
|
||||
totalAtRiskMemberCount: 0,
|
||||
totalApplicationCount: 0,
|
||||
totalAtRiskApplicationCount: 0,
|
||||
},
|
||||
});
|
||||
|
||||
async ngOnInit() {
|
||||
this.isCriticalAppsFeatureEnabled = await this.configService.getFeatureFlag(
|
||||
|
||||
Reference in New Issue
Block a user