mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Show Year in Manual Import List
This commit is contained in:
@@ -71,6 +71,7 @@ class SelectMovieModalContent extends Component {
|
|||||||
key={item.id}
|
key={item.id}
|
||||||
id={item.id}
|
id={item.id}
|
||||||
title={item.title}
|
title={item.title}
|
||||||
|
year={item.year}
|
||||||
onMovieSelect={onMovieSelect}
|
onMovieSelect={onMovieSelect}
|
||||||
/>
|
/>
|
||||||
) :
|
) :
|
||||||
|
@@ -22,7 +22,7 @@ class SelectMovieRow extends Component {
|
|||||||
component="div"
|
component="div"
|
||||||
onPress={this.onPress}
|
onPress={this.onPress}
|
||||||
>
|
>
|
||||||
{this.props.title}
|
{this.props.title} ({this.props.year})
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -31,6 +31,7 @@ class SelectMovieRow extends Component {
|
|||||||
SelectMovieRow.propTypes = {
|
SelectMovieRow.propTypes = {
|
||||||
id: PropTypes.number.isRequired,
|
id: PropTypes.number.isRequired,
|
||||||
title: PropTypes.string.isRequired,
|
title: PropTypes.string.isRequired,
|
||||||
|
year: PropTypes.number.isRequired,
|
||||||
onMovieSelect: PropTypes.func.isRequired
|
onMovieSelect: PropTypes.func.isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user