PR comments - addressing API.searchUser updates.
This commit is contained in:
parent
ccfc98120d
commit
03371005c1
|
@ -123,7 +123,10 @@
|
|||
prevUserSearch = search
|
||||
try {
|
||||
userPageInfo.loading()
|
||||
await users.search({ userPage, email: search })
|
||||
await users.search({
|
||||
bookmark: userPage,
|
||||
query: { string: { email: search } },
|
||||
})
|
||||
userPageInfo.fetched($users.hasNextPage, $users.nextPage)
|
||||
} catch (error) {
|
||||
notifications.error("Error getting user list")
|
||||
|
|
|
@ -31,7 +31,10 @@
|
|||
prevSearch = search
|
||||
try {
|
||||
pageInfo.loading()
|
||||
await users.search({ page, email: search })
|
||||
await users.search({
|
||||
bookmark: page,
|
||||
query: { string: { email: search } },
|
||||
})
|
||||
pageInfo.fetched($users.hasNextPage, $users.nextPage)
|
||||
} catch (error) {
|
||||
notifications.error("Error getting user list")
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
const email = Object.values(searchParams.query.string)[0]
|
||||
|
||||
const results = await API.searchUsers({
|
||||
email,
|
||||
query: { string: { email } },
|
||||
})
|
||||
|
||||
// Mapping to the expected data within RelationshipCell
|
||||
|
|
Loading…
Reference in New Issue