From ead0b7a2f401d82127fa0aa4e29f1a1a7e21668e Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 18 Nov 2017 21:34:22 -0500 Subject: [PATCH] Fix: Show Album Type on Manual Import Album Select Modal --- .../src/InteractiveImport/Album/SelectAlbumModalContent.js | 1 + frontend/src/InteractiveImport/Album/SelectAlbumRow.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/InteractiveImport/Album/SelectAlbumModalContent.js b/frontend/src/InteractiveImport/Album/SelectAlbumModalContent.js index c10abb588..95ed0869a 100644 --- a/frontend/src/InteractiveImport/Album/SelectAlbumModalContent.js +++ b/frontend/src/InteractiveImport/Album/SelectAlbumModalContent.js @@ -39,6 +39,7 @@ class SelectAlbumModalContent extends Component { key={item.id} id={item.id} title={item.title} + albumType={item.albumType} onAlbumSelect={onAlbumSelect} /> ); diff --git a/frontend/src/InteractiveImport/Album/SelectAlbumRow.js b/frontend/src/InteractiveImport/Album/SelectAlbumRow.js index eb163a7c2..b5a3ab3a3 100644 --- a/frontend/src/InteractiveImport/Album/SelectAlbumRow.js +++ b/frontend/src/InteractiveImport/Album/SelectAlbumRow.js @@ -22,7 +22,7 @@ class SelectAlbumRow extends Component { component="div" onPress={this.onPress} > - {this.props.title} + {this.props.title} ({this.props.albumType}) ); } @@ -31,6 +31,7 @@ class SelectAlbumRow extends Component { SelectAlbumRow.propTypes = { id: PropTypes.number.isRequired, title: PropTypes.string.isRequired, + albumType: PropTypes.string.isRequired, onAlbumSelect: PropTypes.func.isRequired };