From 923db777516353aa14fb639489e3fe2da9464c5e Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 23 Sep 2019 22:25:49 -0400 Subject: [PATCH] Fixed: Show Year in Manual Import List --- .../src/InteractiveImport/Movie/SelectMovieModalContent.js | 1 + frontend/src/InteractiveImport/Movie/SelectMovieRow.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/InteractiveImport/Movie/SelectMovieModalContent.js b/frontend/src/InteractiveImport/Movie/SelectMovieModalContent.js index 2bae22307..b0f834b53 100644 --- a/frontend/src/InteractiveImport/Movie/SelectMovieModalContent.js +++ b/frontend/src/InteractiveImport/Movie/SelectMovieModalContent.js @@ -71,6 +71,7 @@ class SelectMovieModalContent extends Component { key={item.id} id={item.id} title={item.title} + year={item.year} onMovieSelect={onMovieSelect} /> ) : diff --git a/frontend/src/InteractiveImport/Movie/SelectMovieRow.js b/frontend/src/InteractiveImport/Movie/SelectMovieRow.js index b48ec7992..e7fc4b9ad 100644 --- a/frontend/src/InteractiveImport/Movie/SelectMovieRow.js +++ b/frontend/src/InteractiveImport/Movie/SelectMovieRow.js @@ -22,7 +22,7 @@ class SelectMovieRow extends Component { component="div" onPress={this.onPress} > - {this.props.title} + {this.props.title} ({this.props.year}) ); } @@ -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 };