also gate by external link

This commit is contained in:
Kendall Garner 2025-06-07 20:54:23 -07:00
parent 9b79502022
commit f1e5ed41bc
No known key found for this signature in database
GPG key ID: 9355F387FE765C94
2 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ interface AlbumArtistDetailContentProps {
export const AlbumArtistDetailContent = ({ background }: AlbumArtistDetailContentProps) => {
const { t } = useTranslation();
const { artistItems, lastFM, musicBrainz } = useGeneralSettings();
const { artistItems, externalLinks, lastFM, musicBrainz } = useGeneralSettings();
const { albumArtistId, artistId } = useParams() as {
albumArtistId?: string;
artistId?: string;
@ -451,7 +451,7 @@ export const AlbumArtistDetailContent = ({ background }: AlbumArtistDetailConten
</Group>
</Box>
) : null}
{lastFM || musicBrainz ? (
{externalLinks && (lastFM || musicBrainz) ? (
<Box component="section">
<Group spacing="sm">
{lastFM && (