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.formGroup.disable();
|
||||||
this.authService.me()
|
this.authService.me()
|
||||||
.pipe(takeUntil(this._destroyed))
|
.pipe(takeUntil(this._destroyed))
|
||||||
.subscribe(result => window.location.reload());
|
.subscribe(result => this.router.navigate(['/profile']));
|
||||||
|
// .subscribe(result => window.location.reload());
|
||||||
},
|
},
|
||||||
error => {
|
error => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|
Loading…
Reference in New Issue