From 36c19ec39afb4ba9cededc63dadb9715c6b6ebaf Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Mon, 19 Feb 2024 05:59:54 +0300 Subject: [PATCH] Fix mediaSourceCount display --- src/components/indicators/useIndicator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/indicators/useIndicator.tsx b/src/components/indicators/useIndicator.tsx index 3015094b14..214c736267 100644 --- a/src/components/indicators/useIndicator.tsx +++ b/src/components/indicators/useIndicator.tsx @@ -63,7 +63,7 @@ const useIndicator = (item: ItemDto) => { const getMediaSourceIndicator = () => { const mediaSourceCount = item.MediaSourceCount ?? 0; if (mediaSourceCount > 1) { - return mediaSourceCount; + return {mediaSourceCount}; } return null;