mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: full name search
This commit is contained in:
1 parent
638c2c73da
commit
c04192e15e
4 files changed
+13
-15
No files matched your search
@@ -120,7 +120,11 @@ export function TankSearch({ compact, onSelect = () => {} }: TankSearchProps) {
|
||||
} else {
|
||||
setSearchedList(
|
||||
go(event.target.value, searchableTanks, {
|
||||
keys: ['name', 'id'] satisfies (keyof TankDefinition)[],
|
||||
keys: [
|
||||
'name',
|
||||
'name_full',
|
||||
'id',
|
||||
] satisfies (keyof TankDefinition)[],
|
||||
}).map(({ obj }) => obj),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user