Disable external links when EnableExternalServices is false. Fix #2022

This commit is contained in:
Deluan
2023-01-25 10:28:03 -05:00
parent e0fc997adb
commit 1950c07b1d
5 changed files with 19 additions and 2 deletions
+3 -1
View File
@@ -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 && (