Always show unread and download badges in library duplicates page
This commit is contained in:
@@ -74,10 +74,10 @@ export const MangaBadges = ({
|
|||||||
{t('manga.button.in_library')}
|
{t('manga.button.in_library')}
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
{showUnreadBadge && mode === 'default' && (unread ?? 0) > 0 && (
|
{((showUnreadBadge && mode === 'default') || mode === 'duplicate') && (unread ?? 0) > 0 && (
|
||||||
<Typography sx={{ backgroundColor: 'primary.dark' }}>{unread}</Typography>
|
<Typography sx={{ backgroundColor: 'primary.dark' }}>{unread}</Typography>
|
||||||
)}
|
)}
|
||||||
{showDownloadBadge && mode === 'default' && (downloadCount ?? 0) > 0 && (
|
{((showDownloadBadge && mode === 'default') || mode === 'duplicate') && (downloadCount ?? 0) > 0 && (
|
||||||
<Typography
|
<Typography
|
||||||
sx={{
|
sx={{
|
||||||
backgroundColor: 'success.dark',
|
backgroundColor: 'success.dark',
|
||||||
|
|||||||
Reference in New Issue
Block a user