mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-1532] Fix typing fast in search with roles gives wrong results in people/group cloud (#5418)
This commit is contained in:
parent
46c54b7083
commit
2e71bc6e27
@ -203,6 +203,7 @@ export class GroupCloudComponent implements OnInit, OnChanges, OnDestroy {
|
|||||||
return this.identityGroupService.findGroupsByName(queryParams);
|
return this.identityGroupService.findGroupsByName(queryParams);
|
||||||
}),
|
}),
|
||||||
mergeMap((groups) => {
|
mergeMap((groups) => {
|
||||||
|
this.resetSearchGroups();
|
||||||
return groups;
|
return groups;
|
||||||
}),
|
}),
|
||||||
filter((group: any) => {
|
filter((group: any) => {
|
||||||
|
@ -200,6 +200,7 @@ export class PeopleCloudComponent implements OnInit, OnChanges, OnDestroy {
|
|||||||
}),
|
}),
|
||||||
switchMap((search) => this.identityUserService.findUsersByName(search)),
|
switchMap((search) => this.identityUserService.findUsersByName(search)),
|
||||||
mergeMap((users) => {
|
mergeMap((users) => {
|
||||||
|
this.resetSearchUsers();
|
||||||
return users;
|
return users;
|
||||||
}),
|
}),
|
||||||
filter((user: any) => {
|
filter((user: any) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user