Always show unread and download badges in library duplicates page

This commit is contained in:
schroda
2024-05-08 19:11:23 +02:00
parent 23ea896524
commit 9baa04803d

View File

@@ -74,10 +74,10 @@ export const MangaBadges = ({
{t('manga.button.in_library')}
</Typography>
)}
{showUnreadBadge && mode === 'default' && (unread ?? 0) > 0 && (
{((showUnreadBadge && mode === 'default') || mode === 'duplicate') && (unread ?? 0) > 0 && (
<Typography sx={{ backgroundColor: 'primary.dark' }}>{unread}</Typography>
)}
{showDownloadBadge && mode === 'default' && (downloadCount ?? 0) > 0 && (
{((showDownloadBadge && mode === 'default') || mode === 'duplicate') && (downloadCount ?? 0) > 0 && (
<Typography
sx={{
backgroundColor: 'success.dark',