1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 20:50:28 +00:00

fix algorithm display of username generator

This commit is contained in:
✨ Audrey ✨
2025-05-01 13:45:45 -04:00
parent d8e82e2ca4
commit f53f93cfbd
2 changed files with 4 additions and 4 deletions

View File

@@ -59,7 +59,7 @@
</bit-form-field>
</form>
<tools-catchall-settings
*ngIf="(algorithm$ | async)?.id === 'catchall'"
*ngIf="(showAlgorithm$ | async)?.id === 'catchall'"
[account]="account$ | async"
(onUpdated)="generate('catchall settings')"
/>
@@ -69,12 +69,12 @@
[account]="account$ | async"
/>
<tools-subaddress-settings
*ngIf="(algorithm$ | async)?.id === 'subaddress'"
*ngIf="(showAlgorithm$ | async)?.id === 'subaddress'"
[account]="account$ | async"
(onUpdated)="generate('subaddress settings')"
/>
<tools-username-settings
*ngIf="(algorithm$ | async)?.id === 'username'"
*ngIf="(showAlgorithm$ | async)?.id === 'username'"
[account]="account$ | async"
(onUpdated)="generate('username settings')"
/>

View File

@@ -399,7 +399,7 @@ export class UsernameGeneratorComponent implements OnInit, OnChanges, OnDestroy
? usernamePref
: null;
// inject drilldown flags
// inject drill-down flags
const forwarderNav = !forwarderPref
? NONE_SELECTED
: JSON.stringify(forwarderPref.algorithm);