1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

fix generate a11y binding (#11671)

This commit is contained in:
✨ Audrey ✨
2024-10-23 14:17:24 -04:00
committed by GitHub
parent 7b8aac229c
commit a8299e7040
3 changed files with 3 additions and 3 deletions

View File

@@ -456,7 +456,7 @@ export class CredentialGeneratorComponent implements OnInit, OnDestroy {
*/ */
protected credentialTypeGenerateLabel$ = this.algorithm$.pipe( protected credentialTypeGenerateLabel$ = this.algorithm$.pipe(
filter((algorithm) => !!algorithm), filter((algorithm) => !!algorithm),
map(({ copy }) => copy), map(({ generate }) => generate),
); );
/** Emits hint key for the currently selected credential type */ /** Emits hint key for the currently selected credential type */

View File

@@ -193,7 +193,7 @@ export class PasswordGeneratorComponent implements OnInit, OnDestroy {
*/ */
protected credentialTypeGenerateLabel$ = this.algorithm$.pipe( protected credentialTypeGenerateLabel$ = this.algorithm$.pipe(
filter((algorithm) => !!algorithm), filter((algorithm) => !!algorithm),
map(({ copy }) => copy), map(({ generate }) => generate),
); );
private toOptions(algorithms: AlgorithmInfo[]) { private toOptions(algorithms: AlgorithmInfo[]) {

View File

@@ -378,7 +378,7 @@ export class UsernameGeneratorComponent implements OnInit, OnDestroy {
*/ */
protected credentialTypeGenerateLabel$ = this.algorithm$.pipe( protected credentialTypeGenerateLabel$ = this.algorithm$.pipe(
filter((algorithm) => !!algorithm), filter((algorithm) => !!algorithm),
map(({ copy }) => copy), map(({ generate }) => generate),
); );
/** Emits hint key for the currently selected credential type */ /** Emits hint key for the currently selected credential type */