fix: setting of default language

This commit is contained in:
Rainer Killinger
2021-02-23 11:35:39 +01:00
parent 350185b0d3
commit ccf8b1a5cc
6 changed files with 16 additions and 14 deletions

View File

@@ -48,11 +48,14 @@ export class ConfigProvider {
* App configuration as IndexResponse
*/
config: SCIndexResponse;
/**
* First session indicator
*/
firstSession = true;
/**
* Initialised status flag of config provider
*/
initialised = false;
/**
* Version of the @openstapps/core package that app is using
*/
@@ -117,6 +120,7 @@ export class ConfigProvider {
// load saved configuration
try {
this.config = await this.loadLocal();
this.firstSession = false;
this.initialised = true;
this.logger.log(`initialised configuration from storage`);
if (this.config.backend.SCVersion !== this.scVersion) {