1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

Fix toggle entry not displaying correctly on non-English clients (#12088)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith 2024-11-21 19:37:29 +01:00 committed by GitHub
parent 5873f0e89d
commit a9f570be06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,7 +249,7 @@ export class PasswordGeneratorComponent implements OnInit, OnDestroy {
private toOptions(algorithms: AlgorithmInfo[]) {
const options: Option<CredentialAlgorithm>[] = algorithms.map((algorithm) => ({
value: algorithm.id,
label: this.i18nService.t(algorithm.name),
label: algorithm.name,
}));
return options;