feat(webui): add "add missing mods" #804

Merged
Sainan merged 7 commits from addmods into main 2025-01-18 16:57:39 -08:00
Showing only changes of commit 0889c70acc - Show all commits

View File

@ -1092,6 +1092,7 @@ function doAddAllMods() {
}
modsAll = Array.from(modsAll);
// Batch to avoid PayloadTooLargeError
const batches = [];
for (let i = 0; i < modsAll.length; i += 1000) {
batches.push(modsAll.slice(i, i + 1000));