Fixed: Download client name in history details

Closes #4801
This commit is contained in:
Mark McDowall 2021-12-17 17:13:13 -08:00
parent d5b91f81ef
commit 3f66eeba4d
1 changed files with 5 additions and 2 deletions

View File

@ -26,6 +26,7 @@ function HistoryDetails(props) {
preferredWordScore,
nzbInfoUrl,
downloadClient,
downloadClientName,
downloadId,
age,
ageHours,
@ -33,6 +34,8 @@ function HistoryDetails(props) {
publishedDate
} = data;
const downloadClientNameInfo = downloadClientName ?? downloadClient;
return (
<DescriptionList>
<DescriptionListItem
@ -84,10 +87,10 @@ function HistoryDetails(props) {
}
{
downloadClient ?
downloadClientNameInfo ?
<DescriptionListItem
title="Download Client"
data={downloadClient}
data={downloadClientNameInfo}
/> :
null
}