store locale + theme in profile, add theme switch
This commit is contained in:
@@ -21,7 +21,7 @@ export class UserComponent implements OnInit {
|
||||
|
||||
async ngOnInit() {
|
||||
this.username = this.route.snapshot.paramMap.get('username');
|
||||
this.profileService.getAllForUser(this.username).subscribe((data: any) => {
|
||||
this.profileService.getForUser(this.username).subscribe((data: any) => {
|
||||
this.success = true;
|
||||
this.model = data;
|
||||
}, error => {
|
||||
|
||||
Reference in New Issue
Block a user