feat: aws claude 4 && fix: module lore sort properly (#865)
# PR Checklist - [ ] Have you checked if it works normally in all models? *Ignore this if it doesn't use models.* - [ ] Have you checked if it works normally in all web, local, and node hosted versions? If it doesn't, have you blocked it in those versions? - [ ] Have you added type definitions? # Description In my previous PR #822 there's an issue where the module lore sort was not saving properly. I believe this PR will fix that. I appreciate your time.
This commit is contained in:
@@ -33,11 +33,11 @@
|
||||
DBState.db.loreBook[DBState.db.loreBookPage].data = newLore
|
||||
}
|
||||
else if(externalLoreBooks){
|
||||
let newLore:loreBook[] = []
|
||||
const tempArray = [...externalLoreBooks];
|
||||
externalLoreBooks.length = 0;
|
||||
idx.forEach((i) => {
|
||||
newLore.push(externalLoreBooks[i])
|
||||
})
|
||||
externalLoreBooks = newLore
|
||||
externalLoreBooks.push(tempArray[i]);
|
||||
});
|
||||
}
|
||||
else if(submenu === 1){
|
||||
let newLore:loreBook[] = []
|
||||
|
||||
Reference in New Issue
Block a user