Fixed: Don't show absolute episode number in Manual Import if not available

This commit is contained in:
Mark McDowall 2021-12-19 09:43:04 -08:00
parent 8621ecfec1
commit 245a033ab3
1 changed files with 7 additions and 1 deletions

View File

@ -234,7 +234,13 @@ class InteractiveImportRow extends Component {
return (
<div key={episode.id}>
{episode.episodeNumber}
{isAnime ? ` (${episode.absoluteEpisodeNumber})` : ''}
{
isAnime && episode.absoluteEpisodeNumber != null ?
` (${episode.absoluteEpisodeNumber})` :
''
}
{` - ${episode.title}`}
</div>
);