Add "has duplicate chapters" library filter

closes #777
This commit is contained in:
schroda
2024-07-28 23:14:42 +02:00
parent 81cb78a634
commit e99ed3eec5
7 changed files with 45 additions and 17 deletions

View File

@@ -78,6 +78,11 @@ export const LibraryOptionsPanel: React.FC<IProps> = ({ open, onClose }) => {
checked={options.bookmarked}
onChange={(c) => handleFilterChange('bookmarked', c)}
/>
<ThreeStateCheckboxInput
label={t('global.filter.label.duplicate_chapters')}
checked={options.hasDuplicateChapters}
onChange={(c) => handleFilterChange('hasDuplicateChapters', c)}
/>
<FormLabel sx={{ mt: 2 }}>{t('global.filter.label.tracked')}</FormLabel>
{loggedInTrackers.map((tracker) => (
<ThreeStateCheckboxInput