mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fix: Show Album Type on Manual Import Album Select Modal
This commit is contained in:
@@ -39,6 +39,7 @@ class SelectAlbumModalContent extends Component {
|
|||||||
key={item.id}
|
key={item.id}
|
||||||
id={item.id}
|
id={item.id}
|
||||||
title={item.title}
|
title={item.title}
|
||||||
|
albumType={item.albumType}
|
||||||
onAlbumSelect={onAlbumSelect}
|
onAlbumSelect={onAlbumSelect}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class SelectAlbumRow extends Component {
|
|||||||
component="div"
|
component="div"
|
||||||
onPress={this.onPress}
|
onPress={this.onPress}
|
||||||
>
|
>
|
||||||
{this.props.title}
|
{this.props.title} ({this.props.albumType})
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -31,6 +31,7 @@ class SelectAlbumRow extends Component {
|
|||||||
SelectAlbumRow.propTypes = {
|
SelectAlbumRow.propTypes = {
|
||||||
id: PropTypes.number.isRequired,
|
id: PropTypes.number.isRequired,
|
||||||
title: PropTypes.string.isRequired,
|
title: PropTypes.string.isRequired,
|
||||||
|
albumType: PropTypes.string.isRequired,
|
||||||
onAlbumSelect: PropTypes.func.isRequired
|
onAlbumSelect: PropTypes.func.isRequired
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user