From 3c99a662e856030e5922ee829da301e3924e33c7 Mon Sep 17 00:00:00 2001 From: jeffvli <jeffvictorli@gmail.com> Date: Thu, 26 Sep 2024 21:23:48 -0700 Subject: [PATCH] Fix album detail header track count --- .../features/albums/components/album-detail-header.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/features/albums/components/album-detail-header.tsx b/src/renderer/features/albums/components/album-detail-header.tsx index 5c867abd..0d2d5db1 100644 --- a/src/renderer/features/albums/components/album-detail-header.tsx +++ b/src/renderer/features/albums/components/album-detail-header.tsx @@ -79,9 +79,9 @@ export const AlbumDetailHeader = forwardRef( }, { id: 'songCount', - value: t('entity.song_many', { + value: `${detailQuery?.data?.songCount} ${t('entity.track_other', { count: detailQuery?.data?.songCount as number, - }), + })}`, }, { id: 'duration',