Skip to content

Commit

Permalink
Always show unread and download badges in library duplicates page
Browse files Browse the repository at this point in the history
  • Loading branch information
schroda committed May 8, 2024
1 parent 23ea896 commit 9baa048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/manga/MangaBadges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 9baa048

Please sign in to comment.