mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
UIF - Prefer signal & change detection (#16940)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { CdkStep, CdkStepper } from "@angular/cdk/stepper";
|
||||
import { Component, input } from "@angular/core";
|
||||
|
||||
// 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-step",
|
||||
templateUrl: "step.component.html",
|
||||
@@ -8,7 +10,7 @@ import { Component, input } from "@angular/core";
|
||||
standalone: true,
|
||||
})
|
||||
export class StepComponent extends CdkStep {
|
||||
subLabel = input();
|
||||
readonly subLabel = input();
|
||||
|
||||
constructor(stepper: CdkStepper) {
|
||||
super(stepper);
|
||||
|
||||
Reference in New Issue
Block a user