Removes redirect on save profile settings

This commit is contained in:
apapachristou 2019-06-24 18:26:40 +03:00
parent f07384ed42
commit 61cba23bf6
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ export class UserProfileComponent extends BaseComponent implements OnInit, OnDes
this.formGroup.disable();
this.authService.me()
.pipe(takeUntil(this._destroyed))
.subscribe(result => window.location.reload());
.subscribe(result => this.router.navigate(['/profile']));
// .subscribe(result => window.location.reload());
},
error => {
console.log(error);