GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Updates the current theme if in preview mode

parent 8cc53d14
......@@ -173,10 +173,11 @@ export class HomeComponent implements OnInit, OnDestroy {
});
}
} else {
this.storageService.db.Config.put({
await this.storageService.db.Config.put({
value: params.get('themeId'),
type: StorageKey.DefaultTheme,
}).then(() => this.themesService.updateCurrentlyUsedTheme());
});
await this.themesService.updateCurrentlyUsedTheme();
this.i18nService.setLanguage(<Language>params.get('languageId').toUpperCase());
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment