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({
|
||||
next: () => {
|
||||
this.closeDialog.emit();
|
||||
this.router.navigate(['/home']);
|
||||
},
|
||||
error: () => {
|
||||
|
|
Reference in a new issue