mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 06:27:08 -04:00
New: Display indexer in download failed details
This commit is contained in:
parent
e6c6fceff8
commit
8b5b177d16
2 changed files with 6 additions and 1 deletions
|
@ -165,7 +165,7 @@ function HistoryDetails(props: HistoryDetailsProps) {
|
|||
}
|
||||
|
||||
if (eventType === 'downloadFailed') {
|
||||
const { message } = data as DownloadFailedHistory;
|
||||
const { message, indexer } = data as DownloadFailedHistory;
|
||||
|
||||
return (
|
||||
<DescriptionList>
|
||||
|
@ -179,6 +179,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}
|
||||
|
|
|
@ -35,6 +35,7 @@ export interface GrabbedHistoryData {
|
|||
|
||||
export interface DownloadFailedHistory {
|
||||
message: string;
|
||||
indexer?: string;
|
||||
}
|
||||
|
||||
export interface DownloadFolderImportedHistory {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue