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:
@@ -5,6 +5,8 @@ import { Component, HostBinding, OnInit, input } from "@angular/core";
|
||||
import type { SortDirection, SortFn } from "./table-data-source";
|
||||
import { TableComponent } from "./table.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: "th[bitSortable]",
|
||||
template: `
|
||||
|
||||
@@ -44,6 +44,8 @@ export class BitRowDef {
|
||||
*
|
||||
* Utilizes virtual scrolling to render large datasets.
|
||||
*/
|
||||
// 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-table-scroll",
|
||||
templateUrl: "./table-scroll.component.html",
|
||||
|
||||
@@ -21,6 +21,8 @@ export class TableBodyDirective {
|
||||
constructor(public readonly template: TemplateRef<any>) {}
|
||||
}
|
||||
|
||||
// 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-table",
|
||||
templateUrl: "./table.component.html",
|
||||
|
||||
Reference in New Issue
Block a user