refine(app): tighten slash autocomplete matching (#12647)
This commit is contained in:
@@ -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,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user