mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
[CL-135] Migrate component library to standalone components (#12389)
* Migrate component library to standalone components * Fix tests
This commit is contained in:
@@ -7,6 +7,7 @@ import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.servic
|
||||
*/
|
||||
@Pipe({
|
||||
name: "i18n",
|
||||
standalone: true,
|
||||
})
|
||||
export class I18nPipe implements PipeTransform {
|
||||
constructor(private i18nService: I18nService) {}
|
||||
|
||||
@@ -4,8 +4,7 @@ import { NgModule } from "@angular/core";
|
||||
import { I18nPipe } from "./i18n.pipe";
|
||||
|
||||
@NgModule({
|
||||
imports: [CommonModule],
|
||||
declarations: [I18nPipe],
|
||||
imports: [CommonModule, I18nPipe],
|
||||
exports: [CommonModule, I18nPipe],
|
||||
})
|
||||
export class SharedModule {}
|
||||
|
||||
Reference in New Issue
Block a user