Add bulk migration in library indicator

closes #1109
This commit is contained in:
schroda
2026-05-28 01:31:23 +02:00
parent 278ebb312f
commit 0b278ff525
9 changed files with 94 additions and 42 deletions

View File

@@ -249,6 +249,7 @@ export class MigrationManager {
sourceTitle: cachedEntry?.source?.displayName ?? searchMatch.sourceTitle,
latestChapterNumber: cachedEntry?.highestNumberedChapter?.chapterNumber ?? searchMatch.latestChapterNumber,
missingChapters: searchMatch.missingChapters,
inLibrary: cachedEntry?.inLibrary ?? searchMatch.inLibrary,
};
}
@@ -955,6 +956,7 @@ export class MigrationManager {
sourceId: manga.sourceId,
sourceTitle: manga.source?.displayName,
missingChapters: chapters ? Chapters.getMissingCount(chapters) : undefined,
inLibrary: manga.inLibrary,
}));
draftEntry.destSourceIdToSearchState[destSourceId] = true;