1
0
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:
✨ Audrey ✨ 2024-11-14 15:55:19 -05:00 committed by GitHub
parent 73632cd368
commit 48294aac86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}),