Removes redirect on save profile settings
This commit is contained in:
parent
f07384ed42
commit
61cba23bf6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue