remove 'V2' from new component

This commit is contained in:
rr-bw 2024-09-13 14:53:44 -07:00
parent 532d3eaefc
commit 8fa5c55088
No known key found for this signature in database
GPG Key ID: 3FA13C3ADEE51D5D
4 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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