mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-22 21:21:35 +01:00
[PM-16484] Fixing the at risk member count update (#12660)
* Fixing the at risk member count update * Fixing the code to single lines * fixing formatting issues
This commit is contained in:
parent
e47b5a15fd
commit
3917263703
@ -291,10 +291,11 @@ export class RiskInsightsReportService {
|
||||
} as ApplicationHealthReportDetail;
|
||||
|
||||
if (isAtRisk) {
|
||||
(reportDetail.atRiskPasswordCount = reportDetail.atRiskPasswordCount + 1),
|
||||
(reportDetail.atRiskMemberDetails = this.getUniqueMembers(
|
||||
reportDetail.atRiskMemberDetails.concat(newUriDetail.cipherMembers),
|
||||
));
|
||||
reportDetail.atRiskPasswordCount = reportDetail.atRiskPasswordCount + 1;
|
||||
reportDetail.atRiskMemberDetails = this.getUniqueMembers(
|
||||
reportDetail.atRiskMemberDetails.concat(newUriDetail.cipherMembers),
|
||||
);
|
||||
reportDetail.atRiskMemberCount += reportDetail.atRiskMemberDetails.length;
|
||||
}
|
||||
|
||||
reportDetail.memberCount = reportDetail.memberDetails.length;
|
||||
|
Loading…
Reference in New Issue
Block a user