mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-19 21:46:43 -04:00
Fixed: Use download client name for history column
This commit is contained in:
committed by
Mark McDowall
parent
020ed32fcf
commit
1df0ba9e5a
@@ -195,9 +195,14 @@ function HistoryRow(props: HistoryRowProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (name === 'downloadClient') {
|
if (name === 'downloadClient') {
|
||||||
|
const downloadClientName =
|
||||||
|
'downloadClientName' in data ? data.downloadClientName : null;
|
||||||
|
const downloadClient =
|
||||||
|
'downloadClient' in data ? data.downloadClient : null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TableRowCell key={name} className={styles.downloadClient}>
|
<TableRowCell key={name} className={styles.downloadClient}>
|
||||||
{'downloadClient' in data ? data.downloadClient : ''}
|
{downloadClientName ?? downloadClient ?? ''}
|
||||||
</TableRowCell>
|
</TableRowCell>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ export interface DownloadFailedHistory {
|
|||||||
|
|
||||||
export interface DownloadFolderImportedHistory {
|
export interface DownloadFolderImportedHistory {
|
||||||
customFormatScore?: string;
|
customFormatScore?: string;
|
||||||
|
downloadClient: string;
|
||||||
|
downloadClientName: string;
|
||||||
droppedPath: string;
|
droppedPath: string;
|
||||||
importedPath: string;
|
importedPath: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user