mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-25 16:59:17 +01:00
fix generate a11y binding (#11671)
This commit is contained in:
parent
7b8aac229c
commit
a8299e7040
@ -456,7 +456,7 @@ export class CredentialGeneratorComponent implements OnInit, OnDestroy {
|
||||
*/
|
||||
protected credentialTypeGenerateLabel$ = this.algorithm$.pipe(
|
||||
filter((algorithm) => !!algorithm),
|
||||
map(({ copy }) => copy),
|
||||
map(({ generate }) => generate),
|
||||
);
|
||||
|
||||
/** Emits hint key for the currently selected credential type */
|
||||
|
@ -193,7 +193,7 @@ export class PasswordGeneratorComponent implements OnInit, OnDestroy {
|
||||
*/
|
||||
protected credentialTypeGenerateLabel$ = this.algorithm$.pipe(
|
||||
filter((algorithm) => !!algorithm),
|
||||
map(({ copy }) => copy),
|
||||
map(({ generate }) => generate),
|
||||
);
|
||||
|
||||
private toOptions(algorithms: AlgorithmInfo[]) {
|
||||
|
@ -378,7 +378,7 @@ export class UsernameGeneratorComponent implements OnInit, OnDestroy {
|
||||
*/
|
||||
protected credentialTypeGenerateLabel$ = this.algorithm$.pipe(
|
||||
filter((algorithm) => !!algorithm),
|
||||
map(({ copy }) => copy),
|
||||
map(({ generate }) => generate),
|
||||
);
|
||||
|
||||
/** Emits hint key for the currently selected credential type */
|
||||
|
Loading…
Reference in New Issue
Block a user