1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 14:04:03 +00:00

PM-25901 cannot change changedetectionstrategy as it causes the page to fail

This commit is contained in:
voommen-livefront
2026-01-15 09:12:45 -06:00
parent 4cd94461e8
commit 81a4c32ed1
2 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
import { ChangeDetectionStrategy, Component, OnInit } from "@angular/core";
import { Component, OnInit } from "@angular/core";
import { AuditService } from "@bitwarden/common/abstractions/audit.service";
import { OrganizationService } from "@bitwarden/common/admin-console/abstractions/organization/organization.service.abstraction";
@@ -18,8 +18,9 @@ import { CipherReportComponent } from "./cipher-report.component";
type ReportResult = CipherView & { exposedXTimes: number };
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
@Component({
changeDetection: ChangeDetectionStrategy.OnPush,
selector: "app-exposed-passwords-report",
templateUrl: "exposed-passwords-report.component.html",
standalone: false,

View File

@@ -1,6 +1,6 @@
// FIXME: Update this file to be type safe and remove this and next line
// @ts-strict-ignore
import { Component, OnInit } from "@angular/core";
import { ChangeDetectionStrategy, Component, OnInit } from "@angular/core";
import { firstValueFrom } from "rxjs";
import { AccountService } from "@bitwarden/common/auth/abstractions/account.service";
@@ -9,9 +9,8 @@ import { BillingAccountProfileStateService } from "@bitwarden/common/billing/abs
import { reports, ReportType } from "../reports";
import { ReportEntry, ReportVariant } from "../shared";
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
@Component({
changeDetection: ChangeDetectionStrategy.OnPush,
selector: "app-reports-home",
templateUrl: "reports-home.component.html",
standalone: false,