From d0e39ab66aec02a38ef89e898a1e44f137b551fd Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 11 Mar 2025 18:13:39 +0200 Subject: [PATCH] New: Display indexer in download failed details --- frontend/src/Activity/History/Details/HistoryDetails.tsx | 6 +++++- frontend/src/typings/History.ts | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/Activity/History/Details/HistoryDetails.tsx b/frontend/src/Activity/History/Details/HistoryDetails.tsx index 632c3a091..588bd7482 100644 --- a/frontend/src/Activity/History/Details/HistoryDetails.tsx +++ b/frontend/src/Activity/History/Details/HistoryDetails.tsx @@ -174,7 +174,7 @@ function HistoryDetails(props: HistoryDetailsProps) { } if (eventType === 'downloadFailed') { - const { message } = data as DownloadFailedHistory; + const { message, indexer } = data as DownloadFailedHistory; return ( @@ -188,6 +188,10 @@ function HistoryDetails(props: HistoryDetailsProps) { ) : null} + {indexer ? ( + + ) : null} + {message ? ( ) : null} diff --git a/frontend/src/typings/History.ts b/frontend/src/typings/History.ts index 6e0a766a7..c4d7f7644 100644 --- a/frontend/src/typings/History.ts +++ b/frontend/src/typings/History.ts @@ -36,6 +36,7 @@ export interface GrabbedHistoryData { export interface DownloadFailedHistory { message: string; + indexer?: string; } export interface DownloadFolderImportedHistory {