mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-20 10:45:52 +00:00
fix: variable dynamic refresh & space match (#2142)
* fix: variable dynamic refresh & space match * fix variable picker filter
This commit is contained in:
@@ -77,7 +77,7 @@ export default function VariableLabelPickerPlugin({
|
||||
onQueryChange={setQueryString}
|
||||
onSelectOption={onSelectOption}
|
||||
triggerFn={checkForTriggerMatch}
|
||||
options={variables}
|
||||
options={variableFilter(variables, queryString || '')}
|
||||
menuRenderFn={(
|
||||
anchorElementRef,
|
||||
{ selectedIndex, selectOptionAndCleanUp, setHighlightedIndex }
|
||||
|
Reference in New Issue
Block a user