Show manual search migration matches under "other matches"

This commit is contained in:
schroda
2026-06-21 13:27:45 +02:00
parent 6015b7a84b
commit 13605c4819
2 changed files with 2 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- (**Migration**) Show the exclude/include button only for an entry with a selected match
- (**Migration**) Allow resuming a migration only in a secure context (localhost or https)
- (**Migration**) Show dialog on manual search selection to optionally open the search result entry instead of selecting it
- (**Migration**) Show "manual search matches" under "other matches"
- (**Source/Extension**) Rename language "All" to "Multi"
- (**Reader**) Simplify changing settings in desktop sidebar
- (**Reader**) Ignore tap zone clicks while window does not have focus

View File

@@ -223,7 +223,7 @@ export const MigrationEntry = memo(
}, [entry.searchMatches, entry.selectedMatchMangaId]);
const otherMatches = useMemo(
() =>
entry.searchMatches
[...entry.searchMatches, ...entry.manualMatches]
.filter((searchMatch) => searchMatch.id !== entry.selectedMatchMangaId)
.sort((a, b) => {
const sortByLatestChapter = (b.latestChapterNumber ?? 0) - (a.latestChapterNumber ?? 0);