|
|
|
@ -128,6 +128,7 @@ class QueueRow extends Component {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
columns.map((column) => {
|
|
|
|
|
|
|
|
|
|
const {
|
|
|
|
|
name,
|
|
|
|
|
isVisible
|
|
|
|
@ -234,6 +235,16 @@ class QueueRow extends Component {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (name === 'year') {
|
|
|
|
|
return (
|
|
|
|
|
<TableRowCell key={name}>
|
|
|
|
|
{
|
|
|
|
|
movie ? movie.year : ''
|
|
|
|
|
}
|
|
|
|
|
</TableRowCell>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (name === 'title') {
|
|
|
|
|
return (
|
|
|
|
|
<TableRowCell key={name}>
|
|
|
|
@ -362,6 +373,7 @@ QueueRow.propTypes = {
|
|
|
|
|
estimatedCompletionTime: PropTypes.string,
|
|
|
|
|
timeleft: PropTypes.string,
|
|
|
|
|
size: PropTypes.number,
|
|
|
|
|
year: PropTypes.number,
|
|
|
|
|
sizeleft: PropTypes.number,
|
|
|
|
|
showRelativeDates: PropTypes.bool.isRequired,
|
|
|
|
|
shortDateFormat: PropTypes.string.isRequired,
|
|
|
|
|