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:
parent
ed46ee5254
commit
36c19ec39a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue