mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-13 18:27:08 -07:00
Fixed: Download client name in history details
This commit is contained in:
parent
7ea4e4070e
commit
fc352ed6d6
1 changed files with 7 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue