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

Fix mediaSourceCount display

This commit is contained in:
grafixeyehero 2024-02-19 05:59:54 +03:00
parent ed46ee5254
commit 36c19ec39a

View file

@ -63,7 +63,7 @@ const useIndicator = (item: ItemDto) => {
const getMediaSourceIndicator = () => {
const mediaSourceCount = item.MediaSourceCount ?? 0;
if (mediaSourceCount > 1) {
return <Box className='mediaSourceIndicator'>mediaSourceCount</Box>;
return <Box className='mediaSourceIndicator'>{mediaSourceCount}</Box>;
}
return null;