mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-29 22:31:29 +01:00
invert ambiguous character flag (#12004)
This commit is contained in:
parent
73632cd368
commit
48294aac86
@ -117,7 +117,7 @@ export class PasswordSettingsComponent implements OnInit, OnDestroy {
|
||||
map((settings) => {
|
||||
// interface is "avoid" while storage is "include"
|
||||
const s: any = { ...settings };
|
||||
s.avoidAmbiguous = s.ambiguous;
|
||||
s.avoidAmbiguous = !s.ambiguous;
|
||||
delete s.ambiguous;
|
||||
return s;
|
||||
}),
|
||||
@ -205,7 +205,7 @@ export class PasswordSettingsComponent implements OnInit, OnDestroy {
|
||||
map(([, settings]) => {
|
||||
// interface is "avoid" while storage is "include"
|
||||
const s: any = { ...settings };
|
||||
s.ambiguous = s.avoidAmbiguous;
|
||||
s.ambiguous = !s.avoidAmbiguous;
|
||||
delete s.avoidAmbiguous;
|
||||
return s;
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user