mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-12 01:48:21 +02:00
[PS-381] Fix locale being empty when not configuring a language (#1631)
This commit is contained in:
parent
446f2027b4
commit
06d95bb224
@ -74,7 +74,7 @@ export class OptionsComponent implements OnInit {
|
|||||||
this.enableGravatars = await this.stateService.getEnableGravitars();
|
this.enableGravatars = await this.stateService.getEnableGravitars();
|
||||||
this.enableFullWidth = await this.stateService.getEnableFullWidth();
|
this.enableFullWidth = await this.stateService.getEnableFullWidth();
|
||||||
|
|
||||||
this.locale = await this.stateService.getLocale();
|
this.locale = (await this.stateService.getLocale()) ?? null;
|
||||||
this.startingLocale = this.locale;
|
this.startingLocale = this.locale;
|
||||||
|
|
||||||
this.theme = await this.stateService.getTheme();
|
this.theme = await this.stateService.getTheme();
|
||||||
|
Loading…
Reference in New Issue
Block a user