store locale + theme in profile, add theme switch
This commit is contained in:
@@ -49,7 +49,7 @@ export class AuthenticatedGuard implements CanActivate {
|
||||
}
|
||||
|
||||
|
||||
this.profileService.getAll(["locale", "darkTheme"]).subscribe((profileFields: any) => {
|
||||
this.profileService.get(["locale", "darkTheme"]).subscribe((profileFields: any) => {
|
||||
let updateLocale = false;
|
||||
let darktheme = 'false';
|
||||
let updateTheme = false;
|
||||
|
||||
Reference in New Issue
Block a user