New: Display indexer in download failed details

This commit is contained in:
Bogdan 2025-03-11 18:13:39 +02:00 committed by Mark McDowall
parent e08c9d5501
commit a324052deb
2 changed files with 6 additions and 1 deletions

View file

@ -174,7 +174,7 @@ function HistoryDetails(props: HistoryDetailsProps) {
}
if (eventType === 'downloadFailed') {
const { message } = data as DownloadFailedHistory;
const { message, indexer } = data as DownloadFailedHistory;
return (
<DescriptionList>
@ -188,6 +188,10 @@ function HistoryDetails(props: HistoryDetailsProps) {
<DescriptionListItem title={translate('GrabId')} data={downloadId} />
) : null}
{indexer ? (
<DescriptionListItem title={translate('Indexer')} data={indexer} />
) : null}
{message ? (
<DescriptionListItem title={translate('Message')} data={message} />
) : null}

View file

@ -36,6 +36,7 @@ export interface GrabbedHistoryData {
export interface DownloadFailedHistory {
message: string;
indexer?: string;
}
export interface DownloadFolderImportedHistory {