🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Don't refresh artistInfo when setting artist's love/rating
Deluan12dd219e16b8
diff --git a/ui/src/artist/ArtistShow.js b/ui/src/artist/ArtistShow.jsindex 071708050..516ba271a 100644--- a/ui/src/artist/ArtistShow.js+++ b/ui/src/artist/ArtistShow.js@@ -34,7 +34,7 @@ const ArtistDetails = (props) => {.catch((e) => {console.error('error on artist page', e)})- }, [record])+ }, [record.id])const component = isDesktop ? DesktopArtistDetails : MobileArtistDetailsreturn (diff --git a/ui/src/artist/DesktopArtistDetails.js b/ui/src/artist/DesktopArtistDetails.jsindex 71fa57fa6..8684eeb5c 100644--- a/ui/src/artist/DesktopArtistDetails.js+++ b/ui/src/artist/DesktopArtistDetails.js@@ -54,7 +54,8 @@ const useStyles = makeStyles(button: {marginLeft: '0.9em',},- loveButton: {+ contextMenu: {+ marginLeft: theme.spacing(1.5),top: theme.spacing(-0.2),left: theme.spacing(0.5),},@@ -103,11 +104,11 @@ const DesktopArtistDetails = ({ img, artistInfo, record, biography }) => {{title}{config.enableFavourites && (<ArtistContextMenu- className={classes.loveButton}+ className={classes.contextMenu}record={record}resource={'artist'}size={'default'}- aria-label="love"+ aria-label="artist context menu"color="primary"/>)}