mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
UIF - Prefer signal & change detection (#16940)
This commit is contained in:
@@ -8,6 +8,8 @@ import { TypographyDirective } from "../typography/typography.directive";
|
||||
|
||||
import { BitFormControlAbstraction } from "./form-control.abstraction";
|
||||
|
||||
// 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: "bit-form-control",
|
||||
templateUrl: "form-control.component.html",
|
||||
|
||||
@@ -6,6 +6,8 @@ import { FormControlComponent } from "./form-control.component";
|
||||
// Increments for each instance of this component
|
||||
let nextId = 0;
|
||||
|
||||
// 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: "bit-label",
|
||||
templateUrl: "label.component.html",
|
||||
|
||||
Reference in New Issue
Block a user