1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-02 01:33:22 +00:00

removed ChangeDetectionStrategy.OnPush from desktop-layout and added FIXME/lint disable

This commit is contained in:
Leslie Xiong
2025-11-26 14:35:39 -05:00
parent 81537a82c0
commit aadfd6c1e5

View File

@@ -1,4 +1,4 @@
import { ChangeDetectionStrategy, Component } from "@angular/core";
import { Component } from "@angular/core";
import { RouterModule } from "@angular/router";
import { PasswordManagerLogo } from "@bitwarden/assets/svg";
@@ -7,11 +7,12 @@ import { I18nPipe } from "@bitwarden/ui-common";
import { DesktopSideNavComponent } from "./desktop-side-nav.component";
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
@Component({
selector: "app-layout",
imports: [RouterModule, I18nPipe, LayoutComponent, NavigationModule, DesktopSideNavComponent],
templateUrl: "./desktop-layout.component.html",
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class DesktopLayoutComponent {
protected readonly logo = PasswordManagerLogo;