refine(app): tighten slash autocomplete matching (#12647)
This commit is contained in:
@@ -415,7 +415,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
||||
} = useFilteredList<SlashCommand>({
|
||||
items: slashCommands,
|
||||
key: (x) => x?.id,
|
||||
filterKeys: ["trigger", "title", "description"],
|
||||
filterKeys: ["trigger", "title"],
|
||||
onSelect: handleSlashSelect,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user