Skip to content

Commit 2a42e39

Browse files
author
alirizaadiyahsi
authored
Merge branch 'master' into master
2 parents 83b46fa + ec93cd9 commit 2a42e39

File tree

29 files changed

+426
-426
lines changed

29 files changed

+426
-426
lines changed

angular/src/app/roles/roles.component.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ import {
1414
import { CreateRoleDialogComponent } from './create-role/create-role-dialog.component';
1515
import { EditRoleDialogComponent } from './edit-role/edit-role-dialog.component';
1616

17+
class PagedRolesRequestDto extends PagedRequestDto{
18+
keyword: string;
19+
}
20+
1721
@Component({
18-
templateUrl: './roles.component.html',
19-
animations: [appModuleAnimation()]
22+
templateUrl: './roles.component.html',
23+
animations: [appModuleAnimation()]
2024
})
2125
export class RolesComponent extends PagedListingComponentBase<RoleDto> {
2226
roles: RoleDto[] = [];
@@ -83,7 +87,7 @@ export class RolesComponent extends PagedListingComponentBase<RoleDto> {
8387
data: id
8488
});
8589
}
86-
90+
8791
createOrEditRoleDialog.afterClosed().subscribe(result => {
8892
if (result) {
8993
this.refresh();

angular/src/app/tenants/tenants.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ import {
1414
import { CreateTenantDialogComponent } from './create-tenant/create-tenant-dialog.component';
1515
import { EditTenantDialogComponent } from './edit-tenant/edit-tenant-dialog.component';
1616

17+
class PagedTenantsRequestDto extends PagedRequestDto{
18+
keyword: string;
19+
isActive: boolean | null;
20+
}
21+
1722
@Component({
1823
templateUrl: './tenants.component.html',
1924
animations: [appModuleAnimation()]

angular/src/app/users/users.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ export class UsersComponent extends PagedListingComponentBase<UserDto> {
8585
}
8686
});
8787
}
88-
}
88+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"remoteServiceBaseUrl": "http://localhost:21021",
3+
"appBaseUrl": "http://localhost:4200",
4+
"localeMappings": [
5+
{
6+
"from": "pt-BR",
7+
"to": "pt"
8+
},
9+
{
10+
"from": "zh-CN",
11+
"to": "zh"
12+
},
13+
{
14+
"from": "he-IL",
15+
"to": "he"
16+
}
17+
]
18+
}

angular/src/environments/environment.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
export const environment = {
44
production: true,
55
hmr: false,
6-
appConfig: 'appconfig.json'
6+
appConfig: 'appconfig.production.json'
77
};

0 commit comments

Comments
 (0)