diff --git a/src/app/settings/options.component.ts b/src/app/settings/options.component.ts index 79068240cc..ccfd9d330d 100644 --- a/src/app/settings/options.component.ts +++ b/src/app/settings/options.component.ts @@ -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();