mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Show Categories and Source for History Details
This commit is contained in:
@@ -15,7 +15,9 @@ function HistoryDetails(props) {
|
|||||||
if (eventType === 'indexerQuery') {
|
if (eventType === 'indexerQuery') {
|
||||||
const {
|
const {
|
||||||
query,
|
query,
|
||||||
queryResults
|
queryResults,
|
||||||
|
categories,
|
||||||
|
source
|
||||||
} = data;
|
} = data;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -41,6 +43,22 @@ function HistoryDetails(props) {
|
|||||||
data={queryResults}
|
data={queryResults}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
!!data &&
|
||||||
|
<DescriptionListItem
|
||||||
|
title={'Categories'}
|
||||||
|
data={categories}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
!!data &&
|
||||||
|
<DescriptionListItem
|
||||||
|
title={'Source'}
|
||||||
|
data={source}
|
||||||
|
/>
|
||||||
|
}
|
||||||
</DescriptionList>
|
</DescriptionList>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user