mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: UI Fixes
This commit is contained in:
parent
718e8d7a9e
commit
94cca69e92
17 changed files with 287 additions and 261 deletions
|
@ -71,7 +71,6 @@ class AddNewArtistSearchResult extends Component {
|
|||
artistType,
|
||||
status,
|
||||
overview,
|
||||
albumCount,
|
||||
ratings,
|
||||
images,
|
||||
isExistingArtist,
|
||||
|
@ -83,11 +82,6 @@ class AddNewArtistSearchResult extends Component {
|
|||
} = this.state;
|
||||
|
||||
const linkProps = isExistingArtist ? { to: `/artist/${foreignArtistId}` } : { onPress: this.onPress };
|
||||
let albums = '1 Album';
|
||||
|
||||
if (albumCount > 1) {
|
||||
albums = `${albumCount} Albums`;
|
||||
}
|
||||
|
||||
const height = calculateHeight(230, isSmallScreen);
|
||||
|
||||
|
@ -146,13 +140,6 @@ class AddNewArtistSearchResult extends Component {
|
|||
</Label>
|
||||
}
|
||||
|
||||
{
|
||||
!!albumCount &&
|
||||
<Label size={sizes.LARGE}>
|
||||
{albums}
|
||||
</Label>
|
||||
}
|
||||
|
||||
{
|
||||
status === 'ended' &&
|
||||
<Label
|
||||
|
@ -201,7 +188,6 @@ AddNewArtistSearchResult.propTypes = {
|
|||
artistType: PropTypes.string,
|
||||
status: PropTypes.string.isRequired,
|
||||
overview: PropTypes.string,
|
||||
albumCount: PropTypes.number,
|
||||
ratings: PropTypes.object.isRequired,
|
||||
images: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||
isExistingArtist: PropTypes.bool.isRequired,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue