Fixed: Download client name in history details

pull/2566/head
Mark McDowall 3 years ago committed by Qstick
parent 7ea4e4070e
commit fc352ed6d6

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

Loading…
Cancel
Save