mirror of
https://github.com/Sonarr/Sonarr
synced 2025-12-16 05:15:19 +01:00
New: Display indexer in download failed details
This commit is contained in:
parent
e08c9d5501
commit
a324052deb
2 changed files with 6 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ export interface GrabbedHistoryData {
|
|||
|
||||
export interface DownloadFailedHistory {
|
||||
message: string;
|
||||
indexer?: string;
|
||||
}
|
||||
|
||||
export interface DownloadFolderImportedHistory {
|
||||
|
|
|
|||
Loading…
Reference in a new issue