Fix conditionals on album artist detail

This commit is contained in:
jeffvli 2023-05-20 02:26:24 -07:00
parent c854fd0a5b
commit fe59011882

View file

@ -357,7 +357,7 @@ export const AlbumArtistDetailContent = () => {
</Group> </Group>
</Group> </Group>
</Box> </Box>
{showGenres && ( {showGenres ? (
<Box component="section"> <Box component="section">
<Group spacing="sm"> <Group spacing="sm">
{detailQuery?.data?.genres?.map((genre) => ( {detailQuery?.data?.genres?.map((genre) => (
@ -377,7 +377,7 @@ export const AlbumArtistDetailContent = () => {
))} ))}
</Group> </Group>
</Box> </Box>
)} ) : null}
{showBiography ? ( {showBiography ? (
<Box <Box
component="section" component="section"
@ -397,7 +397,7 @@ export const AlbumArtistDetailContent = () => {
/> />
</Box> </Box>
) : null} ) : null}
{showTopSongs && ( {showTopSongs ? (
<Box component="section"> <Box component="section">
<Group <Group
noWrap noWrap
@ -444,7 +444,7 @@ export const AlbumArtistDetailContent = () => {
onRowDoubleClicked={handleRowDoubleClick} onRowDoubleClicked={handleRowDoubleClick}
/> />
</Box> </Box>
)} ) : null}
<Box component="section"> <Box component="section">
<Stack spacing="xl"> <Stack spacing="xl">
{carousels {carousels