1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-28 07:49:41 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 */