1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00: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

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;