1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

remove 'V2' from new component

This commit is contained in:
rr-bw
2024-09-13 14:53:44 -07:00
parent 532d3eaefc
commit 8fa5c55088
4 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ import { extensionRefreshSwap } from "@bitwarden/angular/utils/extension-refresh
import { import {
AnonLayoutWrapperComponent, AnonLayoutWrapperComponent,
AnonLayoutWrapperData, AnonLayoutWrapperData,
LoginComponentV2, LoginComponent,
LoginSecondaryContentComponent, LoginSecondaryContentComponent,
PasswordHintComponent, PasswordHintComponent,
RegistrationFinishComponent, RegistrationFinishComponent,
@@ -434,7 +434,7 @@ const routes: Routes = [
state: "login", state: "login",
}, // TODO-rr-bw: add `satisfies DataProperties & ExtensionAnonLayoutWrapperData} }, // TODO-rr-bw: add `satisfies DataProperties & ExtensionAnonLayoutWrapperData}
children: [ children: [
{ path: "", component: LoginComponentV2 }, { path: "", component: LoginComponent },
{ path: "", component: LoginSecondaryContentComponent, outlet: "secondary" }, { path: "", component: LoginSecondaryContentComponent, outlet: "secondary" },
{ path: "", component: EnvironmentSelectorComponent, outlet: "environment-selector" }, { path: "", component: EnvironmentSelectorComponent, outlet: "environment-selector" },
], ],

View File

@@ -14,7 +14,7 @@ import { canAccessFeature } from "@bitwarden/angular/platform/guard/feature-flag
import { import {
AnonLayoutWrapperComponent, AnonLayoutWrapperComponent,
AnonLayoutWrapperData, AnonLayoutWrapperData,
LoginComponentV2, LoginComponent,
LoginSecondaryContentComponent, LoginSecondaryContentComponent,
PasswordHintComponent, PasswordHintComponent,
RegistrationFinishComponent, RegistrationFinishComponent,
@@ -166,7 +166,7 @@ const routes: Routes = [
pageTitle: "logInToBitwarden", pageTitle: "logInToBitwarden",
}, },
children: [ children: [
{ path: "", component: LoginComponentV2 }, { path: "", component: LoginComponent },
{ path: "", component: LoginSecondaryContentComponent, outlet: "secondary" }, { path: "", component: LoginSecondaryContentComponent, outlet: "secondary" },
{ {
path: "", path: "",

View File

@@ -20,7 +20,7 @@ import {
RegistrationStartSecondaryComponentData, RegistrationStartSecondaryComponentData,
SetPasswordJitComponent, SetPasswordJitComponent,
RegistrationLinkExpiredComponent, RegistrationLinkExpiredComponent,
LoginComponentV2, LoginComponent,
LoginSecondaryContentComponent, LoginSecondaryContentComponent,
LockIcon, LockIcon,
UserLockIcon, UserLockIcon,
@@ -202,7 +202,7 @@ const routes: Routes = [
children: [ children: [
{ {
path: "", path: "",
component: LoginComponentV2, component: LoginComponent,
}, },
{ {
path: "", path: "",

View File

@@ -66,7 +66,7 @@ export enum LoginUiState {
RouterModule, RouterModule,
], ],
}) })
export class LoginComponentV2 implements OnInit, OnDestroy { export class LoginComponent implements OnInit, OnDestroy {
@ViewChild("masterPasswordInputRef") masterPasswordInputRef: ElementRef; @ViewChild("masterPasswordInputRef") masterPasswordInputRef: ElementRef;
@Input() captchaSiteKey: string = null; @Input() captchaSiteKey: string = null;