1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-04 18:53:20 +00:00

style(dirt): format orchestrator service with prettier

Apply prettier formatting to orchestrator service file.
No functional changes, only code style improvements.

Related to PM-27284
This commit is contained in:
Claude
2025-10-28 21:27:28 +00:00
parent 5b906512e0
commit 2d9ce7a106

View File

@@ -101,8 +101,8 @@ export class RiskInsightsOrchestratorService {
.filter((app) => app.reviewedDate === null)
.map((app) => app.applicationName);
}),
distinctUntilChanged((prev, curr) =>
prev.length === curr.length && prev.every((app, i) => app === curr[i]),
distinctUntilChanged(
(prev, curr) => prev.length === curr.length && prev.every((app, i) => app === curr[i]),
),
shareReplay({ bufferSize: 1, refCount: true }),
);
@@ -360,12 +360,9 @@ export class RiskInsightsOrchestratorService {
* @returns Observable of updated ReportState
*/
saveApplicationReviewStatus$(selectedCriticalApps: string[]): Observable<ReportState> {
this.logService.info(
"[RiskInsightsOrchestratorService] Saving application review status",
{
criticalAppsCount: selectedCriticalApps.length,
},
);
this.logService.info("[RiskInsightsOrchestratorService] Saving application review status", {
criticalAppsCount: selectedCriticalApps.length,
});
return this.rawReportData$.pipe(
take(1),
@@ -389,14 +386,11 @@ export class RiskInsightsOrchestratorService {
},
} as ReportState;
this.logService.debug(
"[RiskInsightsOrchestratorService] Updated review status",
{
totalApps: updatedApplicationData.length,
reviewedApps: updatedApplicationData.filter((app) => app.reviewedDate !== null).length,
criticalApps: updatedApplicationData.filter((app) => app.isCritical).length,
},
);
this.logService.debug("[RiskInsightsOrchestratorService] Updated review status", {
totalApps: updatedApplicationData.length,
reviewedApps: updatedApplicationData.filter((app) => app.reviewedDate !== null).length,
criticalApps: updatedApplicationData.filter((app) => app.isCritical).length,
});
return { reportState, organizationDetails, updatedState, userId };
}),