Skip to content

Commit 32a71d6

Browse files
AndersSahlinAnders Roos
andauthored
Revert move of getUsers, fixes #1795 (#1798)
Co-authored-by: Anders Roos <[email protected]>
1 parent 964204d commit 32a71d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mgt-components/src/components/mgt-people-picker/mgt-people-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,11 +1040,11 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
10401040
} else {
10411041
const isUserOrContactType = this.userType === UserType.user || this.userType === UserType.contact;
10421042
if (this._userFilters && isUserOrContactType) {
1043+
people = await getUsers(graph, this._userFilters, this.showMax);
10431044
} else {
10441045
people = await getPeople(graph, this.userType, this._peopleFilters);
10451046
}
10461047
}
1047-
people = await getUsers(graph, this._userFilters, this.showMax);
10481048
} else if (this.type === PersonType.group) {
10491049
if (this.groupIds) {
10501050
try {

0 commit comments

Comments
 (0)