|
|
@ -111,52 +111,42 @@ class AddNewAlbumSearchResult extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
<div className={styles.content}>
|
|
|
|
<div className={styles.content}>
|
|
|
|
<div className={styles.name}>
|
|
|
|
<div className={styles.titleRow}>
|
|
|
|
{title}
|
|
|
|
<div className={styles.titleContainer}>
|
|
|
|
|
|
|
|
<div className={styles.title}>
|
|
|
|
{
|
|
|
|
{title}
|
|
|
|
!!disambiguation &&
|
|
|
|
|
|
|
|
<span className={styles.year}>({disambiguation})</span>
|
|
|
|
{
|
|
|
|
}
|
|
|
|
!!disambiguation &&
|
|
|
|
|
|
|
|
<span className={styles.year}>({disambiguation})</span>
|
|
|
|
{
|
|
|
|
}
|
|
|
|
isExistingAlbum ?
|
|
|
|
</div>
|
|
|
|
<Icon
|
|
|
|
</div>
|
|
|
|
className={styles.alreadyExistsIcon}
|
|
|
|
|
|
|
|
name={icons.CHECK_CIRCLE}
|
|
|
|
<div className={styles.icons}>
|
|
|
|
size={20}
|
|
|
|
{
|
|
|
|
title="Album already in your library"
|
|
|
|
isExistingAlbum ?
|
|
|
|
/> :
|
|
|
|
<Icon
|
|
|
|
null
|
|
|
|
className={styles.alreadyExistsIcon}
|
|
|
|
}
|
|
|
|
name={icons.CHECK_CIRCLE}
|
|
|
|
|
|
|
|
size={36}
|
|
|
|
<Link
|
|
|
|
title="Already in your library"
|
|
|
|
className={styles.mbLink}
|
|
|
|
/> :
|
|
|
|
to={`https://musicbrainz.org/release-group/${foreignAlbumId}`}
|
|
|
|
null
|
|
|
|
onPress={this.onMBLinkPress}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
<Icon
|
|
|
|
<Link
|
|
|
|
className={styles.mbLinkIcon}
|
|
|
|
className={styles.mbLink}
|
|
|
|
name={icons.EXTERNAL_LINK}
|
|
|
|
to={`https://musicbrainz.org/release-group/${foreignAlbumId}`}
|
|
|
|
size={28}
|
|
|
|
onPress={this.onTVDBLinkPress}
|
|
|
|
/>
|
|
|
|
>
|
|
|
|
</Link>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<span className={styles.artistName}> By: {artist.artistName}</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
isExistingArtist ?
|
|
|
|
|
|
|
|
<Icon
|
|
|
|
<Icon
|
|
|
|
className={styles.alreadyExistsIcon}
|
|
|
|
className={styles.mbLinkIcon}
|
|
|
|
name={icons.CHECK_CIRCLE}
|
|
|
|
name={icons.EXTERNAL_LINK}
|
|
|
|
size={15}
|
|
|
|
size={28}
|
|
|
|
title="Artist already in your library"
|
|
|
|
/>
|
|
|
|
/> :
|
|
|
|
</Link>
|
|
|
|
null
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|