Fix conditionals on album artist detail
This commit is contained in:
parent
c854fd0a5b
commit
fe59011882
1 changed files with 4 additions and 4 deletions
|
@ -357,7 +357,7 @@ export const AlbumArtistDetailContent = () => {
|
|||
</Group>
|
||||
</Group>
|
||||
</Box>
|
||||
{showGenres && (
|
||||
{showGenres ? (
|
||||
<Box component="section">
|
||||
<Group spacing="sm">
|
||||
{detailQuery?.data?.genres?.map((genre) => (
|
||||
|
@ -377,7 +377,7 @@ export const AlbumArtistDetailContent = () => {
|
|||
))}
|
||||
</Group>
|
||||
</Box>
|
||||
)}
|
||||
) : null}
|
||||
{showBiography ? (
|
||||
<Box
|
||||
component="section"
|
||||
|
@ -397,7 +397,7 @@ export const AlbumArtistDetailContent = () => {
|
|||
/>
|
||||
</Box>
|
||||
) : null}
|
||||
{showTopSongs && (
|
||||
{showTopSongs ? (
|
||||
<Box component="section">
|
||||
<Group
|
||||
noWrap
|
||||
|
@ -444,7 +444,7 @@ export const AlbumArtistDetailContent = () => {
|
|||
onRowDoubleClicked={handleRowDoubleClick}
|
||||
/>
|
||||
</Box>
|
||||
)}
|
||||
) : null}
|
||||
<Box component="section">
|
||||
<Stack spacing="xl">
|
||||
{carousels
|
||||
|
|
Reference in a new issue