mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Replace the LoveButton with ArtistContextMenu in the artist page - #1979
This commit is contained in:
parent
dfbf86c577
commit
1d6b04e3ad
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ import CardContent from '@material-ui/core/CardContent'
|
||||||
import CardMedia from '@material-ui/core/CardMedia'
|
import CardMedia from '@material-ui/core/CardMedia'
|
||||||
import ArtistExternalLinks from './ArtistExternalLink'
|
import ArtistExternalLinks from './ArtistExternalLink'
|
||||||
import config from '../config'
|
import config from '../config'
|
||||||
import { LoveButton, RatingField } from '../common'
|
import { ArtistContextMenu, RatingField } from '../common'
|
||||||
import Lightbox from 'react-image-lightbox'
|
import Lightbox from 'react-image-lightbox'
|
||||||
import { AddToPlaylistDialog } from '../dialogs'
|
import { AddToPlaylistDialog } from '../dialogs'
|
||||||
import ExpandInfoDialog from '../dialogs/ExpandInfoDialog'
|
import ExpandInfoDialog from '../dialogs/ExpandInfoDialog'
|
||||||
|
@ -102,7 +102,7 @@ const DesktopArtistDetails = ({ img, artistInfo, record, biography }) => {
|
||||||
>
|
>
|
||||||
{title}
|
{title}
|
||||||
{config.enableFavourites && (
|
{config.enableFavourites && (
|
||||||
<LoveButton
|
<ArtistContextMenu
|
||||||
className={classes.loveButton}
|
className={classes.loveButton}
|
||||||
record={record}
|
record={record}
|
||||||
resource={'artist'}
|
resource={'artist'}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue