mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Disable external links when EnableExternalServices
is false. Fix #2022
This commit is contained in:
parent
e0fc997adb
commit
1950c07b1d
5 changed files with 19 additions and 2 deletions
|
@ -304,7 +304,9 @@ const AlbumDetails = (props) => {
|
|||
)}
|
||||
{!isXsmall && (
|
||||
<Typography component={'div'} className={classes.recordMeta}>
|
||||
<AlbumExternalLinks className={classes.externalLinks} />
|
||||
{config.enableExternalServices && (
|
||||
<AlbumExternalLinks className={classes.externalLinks} />
|
||||
)}
|
||||
</Typography>
|
||||
)}
|
||||
{isDesktop && (
|
||||
|
|
|
@ -135,7 +135,9 @@ const DesktopArtistDetails = ({ artistInfo, record, biography }) => {
|
|||
</Collapse>
|
||||
</CardContent>
|
||||
<Typography component={'div'} className={classes.button}>
|
||||
<ArtistExternalLinks artistInfo={artistInfo} record={record} />
|
||||
{config.enableExternalServices && (
|
||||
<ArtistExternalLinks artistInfo={artistInfo} record={record} />
|
||||
)}
|
||||
</Typography>
|
||||
</div>
|
||||
{isLightboxOpen && (
|
||||
|
|
|
@ -25,6 +25,7 @@ const defaultConfig = {
|
|||
lastFMEnabled: true,
|
||||
lastFMApiKey: '9b94a5515ea66b2da3ec03c12300327e',
|
||||
listenBrainzEnabled: true,
|
||||
enableExternalServices: true,
|
||||
enableCoverAnimation: true,
|
||||
devShowArtistPage: true,
|
||||
enableReplayGain: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue