1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-28 06:03:40 +00:00

[PS-381] Fix locale being empty when not configuring a language (#1631)

This commit is contained in:
Oscar Hinton
2022-05-02 15:32:44 +02:00
committed by GitHub
parent 446f2027b4
commit 06d95bb224

View File

@@ -74,7 +74,7 @@ export class OptionsComponent implements OnInit {
this.enableGravatars = await this.stateService.getEnableGravitars();
this.enableFullWidth = await this.stateService.getEnableFullWidth();
this.locale = await this.stateService.getLocale();
this.locale = (await this.stateService.getLocale()) ?? null;
this.startingLocale = this.locale;
this.theme = await this.stateService.getTheme();