Fixed: Use download client name for history column

pull/7359/head
Mark McDowall 4 months ago committed by Mark McDowall
parent 020ed32fcf
commit 1df0ba9e5a

@ -195,9 +195,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>
);
}

@ -40,6 +40,8 @@ export interface DownloadFailedHistory {
export interface DownloadFolderImportedHistory {
customFormatScore?: string;
downloadClient: string;
downloadClientName: string;
droppedPath: string;
importedPath: string;
}

Loading…
Cancel
Save