1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

New: Show Custom Formats on History Page

This commit is contained in:
Qstick 2019-10-22 21:00:55 -04:00
parent fb4aa58a75
commit 215d5069a9
2 changed files with 17 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellCo
import TableRow from 'Components/Table/TableRow'; import TableRow from 'Components/Table/TableRow';
import TableRowCell from 'Components/Table/Cells/TableRowCell'; import TableRowCell from 'Components/Table/Cells/TableRowCell';
import MovieQuality from 'Movie/MovieQuality'; import MovieQuality from 'Movie/MovieQuality';
import MovieFormats from 'Movie/MovieFormats';
import MovieLanguage from 'Movie/MovieLanguage'; import MovieLanguage from 'Movie/MovieLanguage';
import MovieTitleLink from 'Movie/MovieTitleLink'; import MovieTitleLink from 'Movie/MovieTitleLink';
import HistoryEventTypeCell from './HistoryEventTypeCell'; import HistoryEventTypeCell from './HistoryEventTypeCell';
@ -125,6 +126,16 @@ class HistoryRow extends Component {
); );
} }
if (name === 'quality.customFormats') {
return (
<TableRowCell key={name}>
<MovieFormats
formats={quality.customFormats}
/>
</TableRowCell>
);
}
if (name === 'date') { if (name === 'date') {
return ( return (
<RelativeDateCellConnector <RelativeDateCellConnector

View File

@ -51,6 +51,12 @@ export const defaultState = {
isSortable: true, isSortable: true,
isVisible: true isVisible: true
}, },
{
name: 'quality.customFormats',
label: 'Custom Formats',
isSortable: true,
isVisible: true
},
{ {
name: 'date', name: 'date',
label: 'Date', label: 'Date',