refine(app): tighten slash autocomplete matching (#12647)
This commit is contained in:
parent
c639200ede
commit
bc25efdf72
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
||||||
} = useFilteredList<SlashCommand>({
|
} = useFilteredList<SlashCommand>({
|
||||||
items: slashCommands,
|
items: slashCommands,
|
||||||
key: (x) => x?.id,
|
key: (x) => x?.id,
|
||||||
filterKeys: ["trigger", "title", "description"],
|
filterKeys: ["trigger", "title"],
|
||||||
onSelect: handleSlashSelect,
|
onSelect: handleSlashSelect,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue