1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 23:09:41 +02:00

fix(edge/updates): allow group search [EE-6179] (#10408)

This commit is contained in:
Chaim Lev-Ari 2023-10-12 08:30:23 +03:00 committed by GitHub
parent 5a73605df2
commit 57c45838d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 42 additions and 27 deletions

View file

@ -273,7 +273,9 @@ export function defaultGlobalFilterFn<D, TFilter extends { search: string }>(
}
if (Array.isArray(value)) {
return value.some((item) => item.toLowerCase().includes(filterValueLower));
return value.some((item) =>
item.toString().toLowerCase().includes(filterValueLower)
);
}
return false;