Fixed: Indexer Infobox Error (#920)

* Fixed: Indexer Infobox Error

* fixup! Fixed: Indexer Infobox Error

* fixup! Fixed: Indexer Infobox Error
This commit is contained in:
bakerboy448
2022-03-30 09:22:17 -05:00
committed by GitHub
parent cb8c0d4aa7
commit a81d632878

View File

@@ -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>