1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

fix(beta-tag-removal): [PM-26457] Remove Beta Tag Passkey Login (#17226)

* fix(beta-tag-removal): [PM-26457] Remove Beta Tag Passkey Login - Removed beta tag and locale string for login with passkey.
This commit is contained in:
Patrick-Pimentel-Bitwarden
2025-11-10 11:01:24 -05:00
committed by GitHub
parent 5aa6d38d80
commit e9e731ecba
3 changed files with 19 additions and 25 deletions

View File

@@ -19,7 +19,6 @@
</span>
</ng-container>
</ng-container>
<span bitBadge variant="warning" class="!tw-align-middle">{{ "beta" | i18n }}</span>
</span>
<ng-container *ngIf="loading">
<i class="bwi bwi-spinner bwi-spin tw-ml-1" aria-hidden="true"></i>

View File

@@ -1,5 +1,3 @@
// FIXME: Update this file to be type safe and remove this and next line
// @ts-strict-ignore
import { Component, HostBinding, OnDestroy, OnInit } from "@angular/core";
import { Subject, switchMap, takeUntil } from "rxjs";
@@ -36,6 +34,8 @@ export class WebauthnLoginSettingsComponent implements OnInit, OnDestroy {
protected credentials?: WebauthnLoginCredentialView[];
protected loading = true;
protected requireSsoPolicyEnabled = false;
constructor(
private webauthnService: WebauthnLoginAdminService,
private dialogService: DialogService,
@@ -43,25 +43,6 @@ export class WebauthnLoginSettingsComponent implements OnInit, OnDestroy {
private accountService: AccountService,
) {}
@HostBinding("attr.aria-busy")
get ariaBusy() {
return this.loading ? "true" : "false";
}
get hasCredentials() {
return this.credentials && this.credentials.length > 0;
}
get hasData() {
return this.credentials !== undefined;
}
get limitReached() {
return this.credentials?.length >= this.MaxCredentialCount;
}
requireSsoPolicyEnabled = false;
ngOnInit(): void {
this.accountService.activeAccount$
.pipe(
@@ -90,6 +71,23 @@ export class WebauthnLoginSettingsComponent implements OnInit, OnDestroy {
this.destroy$.complete();
}
@HostBinding("attr.aria-busy")
get ariaBusy() {
return this.loading ? "true" : "false";
}
get hasCredentials() {
return (this.credentials?.length ?? 0) > 0;
}
get hasData() {
return this.credentials !== undefined;
}
get limitReached() {
return (this.credentials?.length ?? 0) >= this.MaxCredentialCount;
}
protected createCredential() {
openCreateCredentialDialog(this.dialogService, {});
}

View File

@@ -9556,9 +9556,6 @@
"loggedInExclamation": {
"message": "Logged in!"
},
"beta": {
"message": "Beta"
},
"assignCollectionAccess": {
"message": "Assign collection access"
},