Show manual search migration matches under "other matches"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user