WlP: feat(auth): emit closeDialog on successful registration #190
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ export class RegisterComponent {
|
||||||
})
|
})
|
||||||
.subscribe({
|
.subscribe({
|
||||||
next: () => {
|
next: () => {
|
||||||
|
this.closeDialog.emit();
|
||||||
this.router.navigate(['/home']);
|
this.router.navigate(['/home']);
|
||||||
},
|
},
|
||||||
error: () => {
|
error: () => {
|
||||||
|
|
Reference in a new issue