Skip to content

Commit a724b05

Browse files
javier-faucherJavier Faucher
andauthored
fix: ensure people-picker search works when userIds are supplied(#2736)
Co-authored-by: Javier Faucher <[email protected]>
1 parent 8327006 commit a724b05

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
2.16 MB
Binary file not shown.

packages/mgt-components/src/graph/graph.user.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ export const getUsersForUserIds = async (
258258
}
259259
}
260260
}
261-
if (searchInput && Object.keys(peopleSearchMatches).length) {
262-
return Promise.all(Object.values(peopleSearchMatches));
263-
}
261+
}
262+
if (searchInput && Object.keys(peopleSearchMatches).length) {
263+
return Promise.all(Object.values(peopleSearchMatches));
264264
}
265265
return Promise.all(Object.values(peopleDict));
266266
} catch (_) {

0 commit comments

Comments
 (0)