Fixed: Download client name in history details

This commit is contained in:
Mark McDowall 2021-12-17 17:13:13 -08:00 committed by Qstick
parent 7ea4e4070e
commit fc352ed6d6
1 changed files with 7 additions and 3 deletions

View File

@ -69,6 +69,7 @@ function HistoryDetails(props) {
releaseGroup,
nzbInfoUrl,
downloadClient,
downloadClientName,
downloadId,
age,
ageHours,
@ -76,6 +77,8 @@ function HistoryDetails(props) {
publishedDate
} = data;
const downloadClientNameInfo = downloadClientName ?? downloadClient;
return (
<DescriptionList>
<DescriptionListItem
@ -115,11 +118,12 @@ function HistoryDetails(props) {
}
{
!!downloadClient &&
downloadClientNameInfo ?
<DescriptionListItem
title={translate('DownloadClient')}
data={downloadClient}
/>
data={downloadClientNameInfo}
/> :
null
}
{