mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-30 11:32:50 +01:00
New: Host column in history and more info
This commit is contained in:
parent
440618f2b6
commit
cb673ddc42
3 changed files with 31 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ function HistoryDetails(props) {
|
|||
limit,
|
||||
offset,
|
||||
source,
|
||||
host,
|
||||
url
|
||||
} = data;
|
||||
|
||||
|
|
@ -86,6 +87,15 @@ function HistoryDetails(props) {
|
|||
null
|
||||
}
|
||||
|
||||
{
|
||||
data ?
|
||||
<DescriptionListItem
|
||||
title={translate('Host')}
|
||||
data={host}
|
||||
/> :
|
||||
null
|
||||
}
|
||||
|
||||
{
|
||||
data ?
|
||||
<DescriptionListItem
|
||||
|
|
|
|||
|
|
@ -331,6 +331,21 @@ class HistoryRow extends Component {
|
|||
);
|
||||
}
|
||||
|
||||
if (name === 'host') {
|
||||
return (
|
||||
<TableRowCell
|
||||
key={name}
|
||||
className={styles.indexer}
|
||||
>
|
||||
{
|
||||
data.host ?
|
||||
data.host :
|
||||
null
|
||||
}
|
||||
</TableRowCell>
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'elapsedTime') {
|
||||
return (
|
||||
<TableRowCell
|
||||
|
|
|
|||
|
|
@ -82,6 +82,12 @@ export const defaultState = {
|
|||
isSortable: false,
|
||||
isVisible: false
|
||||
},
|
||||
{
|
||||
name: 'host',
|
||||
label: () => translate('Host'),
|
||||
isSortable: false,
|
||||
isVisible: false
|
||||
},
|
||||
{
|
||||
name: 'elapsedTime',
|
||||
label: () => translate('ElapsedTime'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue