File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 22 < div class ="col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
33 < div class ="card main-content ">
44 < div class ="header ">
5- < h2 > Update Password </ h2 >
5+ < h2 > {{ "UpdatePassword" | localize }} </ h2 >
66 </ div >
77 < div class ="body table-responsive " #body >
88 < form novalidate (ngSubmit) ="updatePassword(parentFormGroup.value) ">
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { ErrorStateMatcher } from '@angular/material';
1010export class FormGroupErrorStateMatcher implements ErrorStateMatcher {
1111 constructor ( private formGroup : FormGroup ) { }
1212
13- isErrorState ( control : FormControl | null , form : FormGroupDirective | NgForm | null ) : boolean {
13+ public isErrorState ( control : FormControl | null , form : FormGroupDirective | NgForm | null ) : boolean {
1414 return control && control . dirty && control . touched && this . formGroup && this . formGroup . errors && this . formGroup . errors . areEqual ;
1515 }
1616}
@@ -20,7 +20,6 @@ export class FormGroupErrorStateMatcher implements ErrorStateMatcher {
2020 templateUrl : './change-password.component.html'
2121} )
2222export class ChangePasswordComponent extends AppComponentBase implements OnInit {
23- @ViewChild ( 'body' ) bodyElement : ElementRef ;
2423 public parentFormGroup : FormGroup ;
2524 public passwordsFormGroup : FormGroup ;
2625 public isLoading : boolean ;
@@ -43,7 +42,7 @@ export class ChangePasswordComponent extends AppComponentBase implements OnInit
4342 super ( injector ) ;
4443 }
4544
46- ngOnInit ( ) {
45+ public ngOnInit ( ) {
4746 this . isLoading = true ;
4847
4948 this . passwordsFormGroup = new FormGroup ( {
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ export class ResetPasswordDialogComponent extends AppComponentBase
3636 }
3737
3838 public resetPassword ( ) : void {
39- debugger ;
4039 this . isLoading = true ;
4140 this . _userService
4241 . resetPassword ( this . resetPasswordDto )
Original file line number Diff line number Diff line change 1717 <text name =" UserNameOrEmail" value =" User name or email" />
1818 <text name =" Password" value =" Password" />
1919 <text name =" ResetPassword" value =" Reset Password" />
20+ <text name =" UpdatePassword" value =" Update Password" />
2021 <text name =" RememberMe" value =" Remember me" />
2122 <text name =" LogIn" value =" Log in" />
2223 <text name =" LoginFailed" value =" Login failed!" />
You can’t perform that action at this time.
0 commit comments