mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
Enable directive-class-suffix (#17385)
This commit is contained in:
@@ -35,7 +35,7 @@ import { TableComponent } from "./table.component";
|
||||
@Directive({
|
||||
selector: "[bitRowDef]",
|
||||
})
|
||||
export class BitRowDef {
|
||||
export class BitRowDefDirective {
|
||||
constructor(public template: TemplateRef<any>) {}
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ export class TableScrollComponent
|
||||
/** Optional trackBy function. */
|
||||
readonly trackBy = input<TrackByFunction<any> | undefined>();
|
||||
|
||||
protected readonly rowDef = contentChild(BitRowDef);
|
||||
protected readonly rowDef = contentChild(BitRowDefDirective);
|
||||
|
||||
/**
|
||||
* Height of the thead element (in pixels).
|
||||
|
||||
@@ -5,14 +5,14 @@ import { NgModule } from "@angular/core";
|
||||
import { CellDirective } from "./cell.directive";
|
||||
import { RowDirective } from "./row.directive";
|
||||
import { SortableComponent } from "./sortable.component";
|
||||
import { BitRowDef, TableScrollComponent } from "./table-scroll.component";
|
||||
import { BitRowDefDirective, TableScrollComponent } from "./table-scroll.component";
|
||||
import { TableBodyDirective, TableComponent } from "./table.component";
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
ScrollingModule,
|
||||
BitRowDef,
|
||||
BitRowDefDirective,
|
||||
CellDirective,
|
||||
RowDirective,
|
||||
SortableComponent,
|
||||
@@ -21,7 +21,7 @@ import { TableBodyDirective, TableComponent } from "./table.component";
|
||||
TableScrollComponent,
|
||||
],
|
||||
exports: [
|
||||
BitRowDef,
|
||||
BitRowDefDirective,
|
||||
CellDirective,
|
||||
RowDirective,
|
||||
SortableComponent,
|
||||
|
||||
Reference in New Issue
Block a user