Converting TuneIn URI into album to resolve viewability, also fixes #581
This commit is contained in:
@ -111,7 +111,7 @@ const SearchResults = ({
|
||||
{/*<LazyLoadListener enabled={this.props.artists_more && spotify_search_enabled} loadMore={loadMore} />*/}
|
||||
|
||||
{resultsCount > results.length && (
|
||||
<Button uri={`iris:search:${type}:${encodedTerm}`}>
|
||||
<Button uri={`iris:search:${type}:${encodedTerm}`} debug>
|
||||
<I18n path={`search.${type}.more`} count={resultsCount} />
|
||||
</Button>
|
||||
)}
|
||||
|
||||
@ -1,12 +1,11 @@
|
||||
|
||||
import React, { memo } from 'react';
|
||||
import Link from './Link';
|
||||
import { uriType as uriTypeHelper } from '../util/helpers';
|
||||
|
||||
export default memo((props) => {
|
||||
let to = null;
|
||||
let { uri, type } = props;
|
||||
const uriType = type || uriTypeHelper(uri);
|
||||
let { uri } = props;
|
||||
const uriType = uriTypeHelper(uri);
|
||||
if (!props.unencoded) {
|
||||
uri = encodeURIComponent(uri);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user