|
|
@ -166,11 +166,11 @@ const StatusBadge = ({
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
{inProgress && (
|
|
|
|
{inProgress && (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
{mediaType === 'tv' && (
|
|
|
|
{mediaType === 'tv' && downloadItem[0].episode && (
|
|
|
|
<span className="ml-1">
|
|
|
|
<span className="ml-1">
|
|
|
|
{intl.formatMessage(messages.seasonepisodenumber, {
|
|
|
|
{intl.formatMessage(messages.seasonepisodenumber, {
|
|
|
|
seasonNumber: downloadItem[0].episode?.seasonNumber,
|
|
|
|
seasonNumber: downloadItem[0].episode.seasonNumber,
|
|
|
|
episodeNumber: downloadItem[0].episode?.episodeNumber,
|
|
|
|
episodeNumber: downloadItem[0].episode.episodeNumber,
|
|
|
|
})}
|
|
|
|
})}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
@ -219,11 +219,11 @@ const StatusBadge = ({
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
{inProgress && (
|
|
|
|
{inProgress && (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
{mediaType === 'tv' && (
|
|
|
|
{mediaType === 'tv' && downloadItem[0].episode && (
|
|
|
|
<span className="ml-1">
|
|
|
|
<span className="ml-1">
|
|
|
|
{intl.formatMessage(messages.seasonepisodenumber, {
|
|
|
|
{intl.formatMessage(messages.seasonepisodenumber, {
|
|
|
|
seasonNumber: downloadItem[0].episode?.seasonNumber,
|
|
|
|
seasonNumber: downloadItem[0].episode.seasonNumber,
|
|
|
|
episodeNumber: downloadItem[0].episode?.episodeNumber,
|
|
|
|
episodeNumber: downloadItem[0].episode.episodeNumber,
|
|
|
|
})}
|
|
|
|
})}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
@ -272,11 +272,11 @@ const StatusBadge = ({
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
{inProgress && (
|
|
|
|
{inProgress && (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
{mediaType === 'tv' && (
|
|
|
|
{mediaType === 'tv' && downloadItem[0].episode && (
|
|
|
|
<span className="ml-1">
|
|
|
|
<span className="ml-1">
|
|
|
|
{intl.formatMessage(messages.seasonepisodenumber, {
|
|
|
|
{intl.formatMessage(messages.seasonepisodenumber, {
|
|
|
|
seasonNumber: downloadItem[0].episode?.seasonNumber,
|
|
|
|
seasonNumber: downloadItem[0].episode.seasonNumber,
|
|
|
|
episodeNumber: downloadItem[0].episode?.episodeNumber,
|
|
|
|
episodeNumber: downloadItem[0].episode.episodeNumber,
|
|
|
|
})}
|
|
|
|
})}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|