Skip to content

Commit

Permalink
fixed the org filter in admin all user
Browse files Browse the repository at this point in the history
  • Loading branch information
NamrataSweya committed Jul 12, 2024
1 parent 15b0c04 commit de2aba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/view/all-users/all-users.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class AllUsersComponent {
this.adminService.GetAllOrganization().subscribe((data) => {
this.orglist = data.organizations.filter(
(org: { api_user_id: string; organizationType: string }) =>
org.api_user_id == this.apiuserId,
org.organizationType != 'ApiUser',
);
});
} else if (this.loginuser.role === 'ApiUser') {
Expand Down

0 comments on commit de2aba9

Please sign in to comment.