This commit is contained in:
Joshua T Flowers 2019-11-18 09:23:39 +08:00 committed by GitHub
parent 81567875c0
commit 225548d7af
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class Search extends Component {
const formattedOption = {
key: autocompleter.getOptionIdentifier( option ),
label: autocompleter.getOptionLabel( option, query ),
keywords: autocompleter.getOptionKeywords( option ),
keywords: autocompleter.getOptionKeywords( option ).filter( Boolean ),
value: option,
};
formattedOptions.push( formattedOption );