New: Collection Column/Filter Movie Index

This commit is contained in:
Qstick
2019-11-03 00:11:03 -04:00
parent 1c91c9939f
commit f2fffe5304
7 changed files with 90 additions and 19 deletions

View File

@@ -65,6 +65,7 @@ class MovieIndexRow extends Component {
status,
title,
titleSlug,
collection,
studio,
qualityProfile,
added,
@@ -145,6 +146,17 @@ class MovieIndexRow extends Component {
);
}
if (name === 'collection') {
return (
<VirtualTableRowCell
key={name}
className={styles[name]}
>
{collection ? collection.name : null }
</VirtualTableRowCell>
);
}
if (name === 'studio') {
return (
<VirtualTableRowCell
@@ -359,6 +371,7 @@ MovieIndexRow.propTypes = {
title: PropTypes.string.isRequired,
titleSlug: PropTypes.string.isRequired,
studio: PropTypes.string,
collection: PropTypes.object,
qualityProfile: PropTypes.object.isRequired,
added: PropTypes.string,
inCinemas: PropTypes.string,