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 getMediaSourceIndicator = () => {
const mediaSourceCount = item.MediaSourceCount ?? 0; const mediaSourceCount = item.MediaSourceCount ?? 0;
if (mediaSourceCount > 1) { if (mediaSourceCount > 1) {
return <Box className='mediaSourceIndicator'>mediaSourceCount</Box>; return <Box className='mediaSourceIndicator'>{mediaSourceCount}</Box>;
} }
return null; return null;