|
|
|
@ -118,7 +118,8 @@ export class UserComponent implements OnInit {
|
|
|
|
|
let OrganizationUnitId = sessionStorage.getItem('isGasStation') == 'true' ? JSON.parse(sessionStorage.getItem('userdataOfgasstation')).organization.id : JSON.parse(sessionStorage.getItem('userdata')).organization.id |
|
|
|
|
let params = { |
|
|
|
|
OrganizationUnitId: OrganizationUnitId, |
|
|
|
|
IsContainsChildren: String(this.IsContainsChildren) |
|
|
|
|
IsContainsChildren: "true", |
|
|
|
|
IsUsersCountContainsChildren:String(this.IsContainsChildren) |
|
|
|
|
} |
|
|
|
|
await new Promise<void>((resolve, reject) => { |
|
|
|
|
this.http.get(this.CountsByOrganizations, { |
|
|
|
|