1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update src/apps/experimental/components/library/GenresSectionContainer.tsx

Remove parentheses

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
Freako 2023-10-04 12:26:18 +05:30 committed by GitHub
parent 0fe536a7e2
commit a3eebd3a6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,8 +70,8 @@ const GenresSectionContainer: FC<GenresSectionContainerProps> = ({
centerText: true,
cardLayout: false,
shape: itemType === BaseItemKind.MusicAlbum ? 'overflowSquare' : 'overflowPortrait',
showParentTitle: (itemType === BaseItemKind.MusicAlbum),
showYear: (itemType !== BaseItemKind.MusicAlbum)
showParentTitle: itemType === BaseItemKind.MusicAlbum,
showYear: itemType !== BaseItemKind.MusicAlbum
}}
/>;
};