1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-24 11:43:07 +01:00

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

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
}