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 2
2
< div class ="col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
3
3
< div class ="card main-content ">
4
4
< div class ="header ">
5
- < h2 > Update Password </ h2 >
5
+ < h2 > {{ "UpdatePassword" | localize }} </ h2 >
6
6
</ div >
7
7
< div class ="body table-responsive " #body >
8
8
< 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';
10
10
export class FormGroupErrorStateMatcher implements ErrorStateMatcher {
11
11
constructor ( private formGroup : FormGroup ) { }
12
12
13
- isErrorState ( control : FormControl | null , form : FormGroupDirective | NgForm | null ) : boolean {
13
+ public isErrorState ( control : FormControl | null , form : FormGroupDirective | NgForm | null ) : boolean {
14
14
return control && control . dirty && control . touched && this . formGroup && this . formGroup . errors && this . formGroup . errors . areEqual ;
15
15
}
16
16
}
@@ -20,7 +20,6 @@ export class FormGroupErrorStateMatcher implements ErrorStateMatcher {
20
20
templateUrl : './change-password.component.html'
21
21
} )
22
22
export class ChangePasswordComponent extends AppComponentBase implements OnInit {
23
- @ViewChild ( 'body' ) bodyElement : ElementRef ;
24
23
public parentFormGroup : FormGroup ;
25
24
public passwordsFormGroup : FormGroup ;
26
25
public isLoading : boolean ;
@@ -43,7 +42,7 @@ export class ChangePasswordComponent extends AppComponentBase implements OnInit
43
42
super ( injector ) ;
44
43
}
45
44
46
- ngOnInit ( ) {
45
+ public ngOnInit ( ) {
47
46
this . isLoading = true ;
48
47
49
48
this . passwordsFormGroup = new FormGroup ( {
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ export class ResetPasswordDialogComponent extends AppComponentBase
36
36
}
37
37
38
38
public resetPassword ( ) : void {
39
- debugger ;
40
39
this . isLoading = true ;
41
40
this . _userService
42
41
. resetPassword ( this . resetPasswordDto )
Original file line number Diff line number Diff line change 17
17
<text name =" UserNameOrEmail" value =" User name or email" />
18
18
<text name =" Password" value =" Password" />
19
19
<text name =" ResetPassword" value =" Reset Password" />
20
+ <text name =" UpdatePassword" value =" Update Password" />
20
21
<text name =" RememberMe" value =" Remember me" />
21
22
<text name =" LogIn" value =" Log in" />
22
23
<text name =" LoginFailed" value =" Login failed!" />
You can’t perform that action at this time.
0 commit comments