form reset fixed #58

Closed
mazdak.gibran wants to merge 1 commits from mazdak/UX-2366 into dev-pending-20-01-2026

@ -215,7 +215,7 @@ constructor(
next: (response) => {
if (!(response instanceof HttpErrorResponse)) {
this.i18nService.success(SuccessMessages.CHANGE_PASSWORD_SUCCESS, []);
this.router.navigate(['/home/dashboard']);
this.changePasswordForm.reset();
}
}
});

@ -103,7 +103,7 @@ export class ResetPasswordComponent implements OnInit{
next: (response) => {
if (!(response instanceof HttpErrorResponse)) {
this.i18nService.success(SuccessMessages.RESET_PASSWORD_SUCCESS, []);
this.router.navigate(['/dashboard']);
this.resetPasswordForm.reset()
}
}
});

Loading…
Cancel
Save