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

@@ -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);