Skip to content

Commit 118d271

Browse files
author
alirizaadiyahsi
authored
Merge pull request #388 from maliming/issue387
fix #387 angular production compilation error.
2 parents 9b5cac4 + d65ce48 commit 118d271

11 files changed

+12
-12
lines changed

angular/src/account/login/login.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class LoginComponent extends AppComponentBase {
1414

1515
constructor(
1616
injector: Injector,
17-
private loginService: LoginService,
17+
public loginService: LoginService,
1818
private _sessionService: AbpSessionService
1919
) {
2020
super(injector);

angular/src/app/roles/create-role/create-role-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ <h1 mat-dialog-title>{{ "CreateNewRole" | localize }}</h1>
6060
</mat-tab-group>
6161
</mat-dialog-content>
6262
<div mat-dialog-actions align="end">
63-
<button mat-button type="button" [disabled]="saving" (click)="close()">
63+
<button mat-button type="button" [disabled]="saving" (click)="close(false)">
6464
{{ "Cancel" | localize }}
6565
</button>
6666
<button

angular/src/app/roles/edit-role/edit-role-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ <h1 mat-dialog-title>{{ "EditRole" | localize }}</h1>
6060
</mat-tab-group>
6161
</mat-dialog-content>
6262
<div mat-dialog-actions align="end">
63-
<button mat-button type="button" [disabled]="saving" (click)="close()">
63+
<button mat-button type="button" [disabled]="saving" (click)="close(false)">
6464
{{ "Cancel" | localize }}
6565
</button>
6666
<button

angular/src/app/tenants/create-tenant/create-tenant-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h1 mat-dialog-title>{{ "CreateNewTenant" | localize }}</h1>
5555
</div>
5656
</mat-dialog-content>
5757
<div mat-dialog-actions align="end">
58-
<button mat-button type="button" [disabled]="saving" (click)="close()">
58+
<button mat-button type="button" [disabled]="saving" (click)="close(false)">
5959
{{ "Cancel" | localize }}
6060
</button>
6161
<button

angular/src/app/tenants/create-tenant/create-tenant-dialog.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class CreateTenantDialogComponent extends AppComponentBase
2727

2828
constructor(
2929
injector: Injector,
30-
private _tenantService: TenantServiceProxy,
30+
public _tenantService: TenantServiceProxy,
3131
private _dialogRef: MatDialogRef<CreateTenantDialogComponent>
3232
) {
3333
super(injector);

angular/src/app/tenants/edit-tenant/edit-tenant-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h1 mat-dialog-title>{{ "EditTenant" | localize }}</h1>
3333
</div>
3434
</mat-dialog-content>
3535
<div mat-dialog-actions align="end">
36-
<button mat-button type="button" [disabled]="saving" (click)="close()">
36+
<button mat-button type="button" [disabled]="saving" (click)="close(false)">
3737
{{ "Cancel" | localize }}
3838
</button>
3939
<button

angular/src/app/tenants/edit-tenant/edit-tenant-dialog.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class EditTenantDialogComponent extends AppComponentBase
2727

2828
constructor(
2929
injector: Injector,
30-
private _tenantService: TenantServiceProxy,
30+
public _tenantService: TenantServiceProxy,
3131
private _dialogRef: MatDialogRef<EditTenantDialogComponent>,
3232
@Optional() @Inject(MAT_DIALOG_DATA) private _id: number
3333
) {

angular/src/app/users/create-user/create-user-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h1 mat-dialog-title>{{ "CreateNewUser" | localize }}</h1>
7575
<input
7676
matInput
7777
[placeholder]="'ConfirmPassword' | localize"
78-
[(ngModel)]="user.confirmPassword"
78+
ngModel
7979
type="password"
8080
name="confirmPassword"
8181
id="confirmPassword"
@@ -108,7 +108,7 @@ <h1 mat-dialog-title>{{ "CreateNewUser" | localize }}</h1>
108108
</mat-tab-group>
109109
</mat-dialog-content>
110110
<div mat-dialog-actions align="end">
111-
<button mat-button type="button" [disabled]="saving" (click)="close()">
111+
<button mat-button type="button" [disabled]="saving" (click)="close(false)">
112112
{{ "Cancel" | localize }}
113113
</button>
114114
<button

angular/src/app/users/create-user/create-user-dialog.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class CreateUserDialogComponent extends AppComponentBase
3232

3333
constructor(
3434
injector: Injector,
35-
private _userService: UserServiceProxy,
35+
public _userService: UserServiceProxy,
3636
private _dialogRef: MatDialogRef<CreateUserDialogComponent>
3737
) {
3838
super(injector);

angular/src/app/users/edit-user/edit-user-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h1 mat-dialog-title>{{ "EditUser" | localize }}</h1>
7979
</mat-tab-group>
8080
</mat-dialog-content>
8181
<div mat-dialog-actions align="end">
82-
<button mat-button type="button" [disabled]="saving" (click)="close()">
82+
<button mat-button type="button" [disabled]="saving" (click)="close(false)">
8383
{{ "Cancel" | localize }}
8484
</button>
8585
<button

0 commit comments

Comments
 (0)