[AAE-1532] Fix typing fast in search with roles gives wrong results in people/group cloud (#5418)

This commit is contained in:
arditdomi 2020-01-29 09:17:51 +00:00 committed by GitHub
parent 46c54b7083
commit 2e71bc6e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,7 @@ export class GroupCloudComponent implements OnInit, OnChanges, OnDestroy {
return this.identityGroupService.findGroupsByName(queryParams);
}),
mergeMap((groups) => {
this.resetSearchGroups();
return groups;
}),
filter((group: any) => {

View File

@ -200,6 +200,7 @@ export class PeopleCloudComponent implements OnInit, OnChanges, OnDestroy {
}),
switchMap((search) => this.identityUserService.findUsersByName(search)),
mergeMap((users) => {
this.resetSearchUsers();
return users;
}),
filter((user: any) => {