Fixed: Indexer Infobox Error (#920)

* Fixed: Indexer Infobox Error

* fixup! Fixed: Indexer Infobox Error

* fixup! Fixed: Indexer Infobox Error
pull/921/head
bakerboy448 3 years ago committed by GitHub
parent cb8c0d4aa7
commit a81d632878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -77,27 +77,27 @@ function IndexerInfoModalContent(props) {
<DescriptionListItem
descriptionClassName={styles.description}
title={translate('SearchTypes')}
data={capabilities.search.length === 0 ? translate('NotSupported') : capabilities.search[0]}
data={capabilities.searchParams.length === 0 ? translate('NotSupported') : capabilities.searchParams[0]}
/>
<DescriptionListItem
descriptionClassName={styles.description}
title={translate('TVSearchTypes')}
data={capabilities.tv.length === 0 ? translate('NotSupported') : capabilities.tv.join(', ')}
data={capabilities.tvSearchParams.length === 0 ? translate('NotSupported') : capabilities.tvSearchParams.join(', ')}
/>
<DescriptionListItem
descriptionClassName={styles.description}
title={translate('MovieSearchTypes')}
data={capabilities.movie.length === 0 ? translate('NotSupported') : capabilities.movie.join(', ')}
data={capabilities.movieSearchParams.length === 0 ? translate('NotSupported') : capabilities.movieSearchParams.join(', ')}
/>
<DescriptionListItem
descriptionClassName={styles.description}
title={translate('BookSearchTypes')}
data={capabilities.book.length === 0 ? translate('NotSupported') : capabilities.book.join(', ')}
data={capabilities.bookSearchParams.length === 0 ? translate('NotSupported') : capabilities.bookSearchParams.join(', ')}
/>
<DescriptionListItem
descriptionClassName={styles.description}
title={translate('MusicSearchTypes')}
data={capabilities.music.length === 0 ? translate('NotSupported') : capabilities.music.join(', ')}
data={capabilities.musicSearchParams.length === 0 ? translate('NotSupported') : capabilities.musicSearchParams.join(', ')}
/>
</DescriptionList>
</div>

Loading…
Cancel
Save