mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-16 01:21:48 +01:00
PM-8113 - Per main changes, remove deprecated I18nPipe from 2fa comps that use it.
This commit is contained in:
parent
1c9f3e7bee
commit
66ac280ba8
@ -5,7 +5,6 @@ import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|||||||
import { ReactiveFormsModule, FormsModule } from "@angular/forms";
|
import { ReactiveFormsModule, FormsModule } from "@angular/forms";
|
||||||
|
|
||||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||||
import { I18nPipe } from "@bitwarden/angular/platform/pipes/i18n.pipe";
|
|
||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||||
import {
|
import {
|
||||||
@ -38,7 +37,7 @@ import {
|
|||||||
AsyncActionsModule,
|
AsyncActionsModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
],
|
],
|
||||||
providers: [I18nPipe],
|
providers: [],
|
||||||
})
|
})
|
||||||
export class TwoFactorAuthDuoComponent implements OnInit {
|
export class TwoFactorAuthDuoComponent implements OnInit {
|
||||||
@Output() token = new EventEmitter<string>();
|
@Output() token = new EventEmitter<string>();
|
||||||
|
@ -4,7 +4,6 @@ import { Component, EventEmitter, OnInit, Output } from "@angular/core";
|
|||||||
import { ReactiveFormsModule, FormsModule } from "@angular/forms";
|
import { ReactiveFormsModule, FormsModule } from "@angular/forms";
|
||||||
|
|
||||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||||
import { I18nPipe } from "@bitwarden/angular/platform/pipes/i18n.pipe";
|
|
||||||
import { LoginStrategyServiceAbstraction } from "@bitwarden/auth/common";
|
import { LoginStrategyServiceAbstraction } from "@bitwarden/auth/common";
|
||||||
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
import { ApiService } from "@bitwarden/common/abstractions/api.service";
|
||||||
import { TwoFactorService } from "@bitwarden/common/auth/abstractions/two-factor.service";
|
import { TwoFactorService } from "@bitwarden/common/auth/abstractions/two-factor.service";
|
||||||
@ -41,7 +40,7 @@ import { TwoFactorAuthEmailComponentService } from "./two-factor-auth-email-comp
|
|||||||
AsyncActionsModule,
|
AsyncActionsModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
],
|
],
|
||||||
providers: [I18nPipe],
|
providers: [],
|
||||||
})
|
})
|
||||||
export class TwoFactorAuthEmailComponent implements OnInit {
|
export class TwoFactorAuthEmailComponent implements OnInit {
|
||||||
@Output() token = new EventEmitter<string>();
|
@Output() token = new EventEmitter<string>();
|
||||||
|
@ -6,7 +6,6 @@ import { ActivatedRoute, Router, RouterLink } from "@angular/router";
|
|||||||
import { lastValueFrom, firstValueFrom } from "rxjs";
|
import { lastValueFrom, firstValueFrom } from "rxjs";
|
||||||
|
|
||||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||||
import { I18nPipe } from "@bitwarden/angular/platform/pipes/i18n.pipe";
|
|
||||||
import { WINDOW } from "@bitwarden/angular/services/injection-tokens";
|
import { WINDOW } from "@bitwarden/angular/services/injection-tokens";
|
||||||
import {
|
import {
|
||||||
LoginStrategyServiceAbstraction,
|
LoginStrategyServiceAbstraction,
|
||||||
@ -74,7 +73,7 @@ import {
|
|||||||
TwoFactorAuthYubikeyComponent,
|
TwoFactorAuthYubikeyComponent,
|
||||||
TwoFactorAuthWebAuthnComponent,
|
TwoFactorAuthWebAuthnComponent,
|
||||||
],
|
],
|
||||||
providers: [I18nPipe],
|
providers: [],
|
||||||
})
|
})
|
||||||
export class TwoFactorAuthComponent implements OnInit, OnDestroy {
|
export class TwoFactorAuthComponent implements OnInit, OnDestroy {
|
||||||
loading = true;
|
loading = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user