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