fix: Correction in the list of users when there is no value in the client_id field
This commit is contained in:
parent
f896ad485a
commit
14af22ff30
@ -148,7 +148,7 @@ function sortedClients(client, search: string) {
|
||||
.map(client => ({
|
||||
...client,
|
||||
name: sanitizeStringSearch(client.name),
|
||||
client_id: sanitizeStringSearch(String(client.client_id))
|
||||
client_id: sanitizeStringSearch(String(client.client_id ?? ""))
|
||||
}))
|
||||
.filter((client) => client.name.includes(search) || client.client_id.includes(search))
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user