diff --git a/CHANGELOG.md b/CHANGELOG.md index ed9bd5c0..2c5fb8f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - (**Migration**) Fix aborting bulk migration search/execution while webUI is served on a subpath - (**Migration**) Fix retry button never being shown for failed search/migration entries +- (**Migration**) Fix showing an empty "Available" source group header when all sources are selected - (**Reader**) Fix scrollbar appearing with "fit to widt/height/screen" page scale mode and applied safe area insets - (**Reader**) Fix wrongly positioned mobile progress bar current page indicator - (**Reader**) Fix mobile progress bar previous/next chapter button visibility on hover and while disabled diff --git a/src/features/migration/components/MigrationSourceList.tsx b/src/features/migration/components/MigrationSourceList.tsx index cbc5e83f..af56bdd0 100644 --- a/src/features/migration/components/MigrationSourceList.tsx +++ b/src/features/migration/components/MigrationSourceList.tsx @@ -177,7 +177,11 @@ export const MigrationSourceList = ({ groupCounts={groupCounts} computeItemKey={computeItemKey} groupContent={(index) => { - const [group] = groupedSourcesBySelectionState[index]; + const [group, sourcesOfGroup] = groupedSourcesBySelectionState[index]; + + if (!sourcesOfGroup.length) { + return null; + } return ( - {group && !!selectedSources.length && ( + {group && ( {t`Drag to prioritize`}