fix exact search result not showing

This commit is contained in:
Sean Yesmunt 2020-03-09 10:50:07 -04:00
parent 80dddf8f9e
commit 3884bb32ad

View file

@ -204,7 +204,7 @@ class WunderBar extends React.PureComponent<Props, State> {
> >
<Icon icon={this.getSuggestionIcon(type)} /> <Icon icon={this.getSuggestionIcon(type)} />
<span className="wunderbar__suggestion-label"> <span className="wunderbar__suggestion-label">
{type === SEARCH_TYPES.TAG ? <Tag name={value} /> : shorthand} {type === SEARCH_TYPES.TAG ? <Tag name={value} /> : shorthand || value}
</span> </span>
{isHighlighted && ( {isHighlighted && (
<span className="wunderbar__suggestion-label--action"> <span className="wunderbar__suggestion-label--action">