test to see if people click search results with no lbry:// in the result
This commit is contained in:
parent
fc612461d9
commit
261f5e9545
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ class WunderBar extends React.PureComponent<Props, State> {
|
||||||
placeholder={__('Enter a LBRY URL or search for videos, music, games and more')}
|
placeholder={__('Enter a LBRY URL or search for videos, music, games and more')}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
renderItem={({ value, type }, isHighlighted) => (
|
renderItem={({ value, type, shorthand }, isHighlighted) => (
|
||||||
<div
|
<div
|
||||||
// Use value + type for key because there might be suggestions with same value but different type
|
// Use value + type for key because there might be suggestions with same value but different type
|
||||||
key={`${value}-${type}`}
|
key={`${value}-${type}`}
|
||||||
|
@ -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} /> : value}
|
{type === SEARCH_TYPES.TAG ? <Tag name={value} /> : shorthand}
|
||||||
</span>
|
</span>
|
||||||
{isHighlighted && (
|
{isHighlighted && (
|
||||||
<span className="wunderbar__suggestion-label--action">
|
<span className="wunderbar__suggestion-label--action">
|
||||||
|
|
Loading…
Reference in a new issue