tweak customformats check logic

This commit is contained in:
Stevie Robinson 2023-08-19 09:18:54 +02:00 committed by Mark McDowall
parent c14fd2b4a3
commit be24fab897
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ function ParseResult(props: ParseResultProps) {
<ParseResultItem
title={translate('CustomFormats')}
data={
customFormats && customFormats.length > 0 ? (
customFormats?.length ? (
<EpisodeFormats formats={customFormats} />
) : (
'-'