mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 11:48:26 -07:00
Fix: Show Album Type on Manual Import Album Select Modal
This commit is contained in:
parent
9a11b0fd7b
commit
ead0b7a2f4
2 changed files with 3 additions and 1 deletions
|
@ -39,6 +39,7 @@ class SelectAlbumModalContent extends Component {
|
|||
key={item.id}
|
||||
id={item.id}
|
||||
title={item.title}
|
||||
albumType={item.albumType}
|
||||
onAlbumSelect={onAlbumSelect}
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -22,7 +22,7 @@ class SelectAlbumRow extends Component {
|
|||
component="div"
|
||||
onPress={this.onPress}
|
||||
>
|
||||
{this.props.title}
|
||||
{this.props.title} ({this.props.albumType})
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue