From ab9da5207cf565be64eac95c270da97fa3847966 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Thu, 4 Dec 2025 18:23:44 -0800 Subject: [PATCH] fix album tags always showing compilation (#1313) --- .../features/albums/components/album-detail-content.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/renderer/features/albums/components/album-detail-content.tsx b/src/renderer/features/albums/components/album-detail-content.tsx index 3e96d3106..c82f97751 100644 --- a/src/renderer/features/albums/components/album-detail-content.tsx +++ b/src/renderer/features/albums/components/album-detail-content.tsx @@ -134,10 +134,9 @@ const AlbumMetadataTags = ({ album }: AlbumMetadataTagsProps) => { }, { id: 'isCompilation', - value: - album.isCompilation !== null - ? t('filter.isCompilation', { postProcess: 'sentenceCase' }) - : undefined, + value: album?.isCompilation + ? t('filter.isCompilation', { postProcess: 'sentenceCase' }) + : undefined, }, { id: 'recordLabels',