1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 01:11:43 +00:00

Fixed: Show Year in Manual Import List

This commit is contained in:
Qstick 2019-09-23 22:25:49 -04:00
parent 78cac9fcfa
commit 923db77751
2 changed files with 3 additions and 1 deletions

View file

@ -71,6 +71,7 @@ class SelectMovieModalContent extends Component {
key={item.id}
id={item.id}
title={item.title}
year={item.year}
onMovieSelect={onMovieSelect}
/>
) :

View file

@ -22,7 +22,7 @@ class SelectMovieRow extends Component {
component="div"
onPress={this.onPress}
>
{this.props.title}
{this.props.title} ({this.props.year})
</Link>
);
}
@ -31,6 +31,7 @@ class SelectMovieRow extends Component {
SelectMovieRow.propTypes = {
id: PropTypes.number.isRequired,
title: PropTypes.string.isRequired,
year: PropTypes.number.isRequired,
onMovieSelect: PropTypes.func.isRequired
};