[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.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();
|
||||
|
|
Loading…
Reference in New Issue