master #121
|
|
@ -250,12 +250,7 @@ export const DataTableAll = ({
|
|||
if (query !== '') {
|
||||
setTData(
|
||||
data.filter((obj) =>
|
||||
Object.values(obj).some(
|
||||
(value: any) =>
|
||||
value !== null &&
|
||||
value.toString().toLowerCase().includes(query.toLowerCase()),
|
||||
),
|
||||
),
|
||||
Object.values(obj)?.find((c: any) => c.toString().normalize('NFC').toLowerCase().includes(query.normalize('NFC').toLowerCase())))
|
||||
)
|
||||
} else {
|
||||
if (pagination) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue