mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 06:27:08 -04:00
Fixed: Use download client name for history column
(cherry picked from commit 1df0ba9e5aef2d2745a45c546c869837ac8e68db)
This commit is contained in:
parent
f23c2dbaba
commit
def6950db4
2 changed files with 8 additions and 1 deletions
|
@ -154,9 +154,14 @@ function HistoryRow(props: HistoryRowProps) {
|
|||
}
|
||||
|
||||
if (name === 'downloadClient') {
|
||||
const downloadClientName =
|
||||
'downloadClientName' in data ? data.downloadClientName : null;
|
||||
const downloadClient =
|
||||
'downloadClient' in data ? data.downloadClient : null;
|
||||
|
||||
return (
|
||||
<TableRowCell key={name} className={styles.downloadClient}>
|
||||
{'downloadClient' in data ? data.downloadClient : ''}
|
||||
{downloadClientName ?? downloadClient ?? ''}
|
||||
</TableRowCell>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -39,6 +39,8 @@ export interface DownloadFailedHistory {
|
|||
|
||||
export interface DownloadFolderImportedHistory {
|
||||
customFormatScore?: string;
|
||||
downloadClient: string;
|
||||
downloadClientName: string;
|
||||
droppedPath: string;
|
||||
importedPath: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue