Collapse "other matches" if only result gets selected
This commit is contained in:
@@ -665,6 +665,10 @@ export class MigrationManager {
|
||||
MigrationManager.updateState((draft) => {
|
||||
const entry = draft.entries[mangaId];
|
||||
if (entry) {
|
||||
if (entry.selectedMatchMangaId === null && (entry.searchMatches.length || entry.manualMatches.length)) {
|
||||
entry.areMatchesExpanded = false;
|
||||
}
|
||||
|
||||
entry.status = MigrationEntryStatus.SEARCH_COMPLETE;
|
||||
entry.isManualSelection = true;
|
||||
entry.selectedMatchMangaId = targetMangaId;
|
||||
|
||||
Reference in New Issue
Block a user