mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
also gate by external link
This commit is contained in:
parent
9b79502022
commit
f1e5ed41bc
2 changed files with 4 additions and 4 deletions
|
|
@ -90,7 +90,7 @@ export const AlbumDetailContent = ({ background, tableRef }: AlbumDetailContentP
|
||||||
const status = useCurrentStatus();
|
const status = useCurrentStatus();
|
||||||
const isFocused = useAppFocus();
|
const isFocused = useAppFocus();
|
||||||
const currentSong = useCurrentSong();
|
const currentSong = useCurrentSong();
|
||||||
const { lastFM, musicBrainz } = useGeneralSettings();
|
const { externalLinks, lastFM, musicBrainz } = useGeneralSettings();
|
||||||
const genreRoute = useGenreRoute();
|
const genreRoute = useGenreRoute();
|
||||||
|
|
||||||
const columnDefs = useMemo(
|
const columnDefs = useMemo(
|
||||||
|
|
@ -407,7 +407,7 @@ export const AlbumDetailContent = ({ background, tableRef }: AlbumDetailContentP
|
||||||
</Group>
|
</Group>
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
{lastFM || musicBrainz ? (
|
{externalLinks && (lastFM || musicBrainz) ? (
|
||||||
<Box component="section">
|
<Box component="section">
|
||||||
<Group spacing="sm">
|
<Group spacing="sm">
|
||||||
{lastFM && (
|
{lastFM && (
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ interface AlbumArtistDetailContentProps {
|
||||||
|
|
||||||
export const AlbumArtistDetailContent = ({ background }: AlbumArtistDetailContentProps) => {
|
export const AlbumArtistDetailContent = ({ background }: AlbumArtistDetailContentProps) => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { artistItems, lastFM, musicBrainz } = useGeneralSettings();
|
const { artistItems, externalLinks, lastFM, musicBrainz } = useGeneralSettings();
|
||||||
const { albumArtistId, artistId } = useParams() as {
|
const { albumArtistId, artistId } = useParams() as {
|
||||||
albumArtistId?: string;
|
albumArtistId?: string;
|
||||||
artistId?: string;
|
artistId?: string;
|
||||||
|
|
@ -451,7 +451,7 @@ export const AlbumArtistDetailContent = ({ background }: AlbumArtistDetailConten
|
||||||
</Group>
|
</Group>
|
||||||
</Box>
|
</Box>
|
||||||
) : null}
|
) : null}
|
||||||
{lastFM || musicBrainz ? (
|
{externalLinks && (lastFM || musicBrainz) ? (
|
||||||
<Box component="section">
|
<Box component="section">
|
||||||
<Group spacing="sm">
|
<Group spacing="sm">
|
||||||
{lastFM && (
|
{lastFM && (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue