fix: issue of local lore deactive in prev commit

This commit is contained in:
bangonicdd
2025-02-21 21:13:57 +09:00
parent b10fccd3c4
commit 77a36f5a7f

View File

@@ -70,6 +70,7 @@
}
}
function DeactivateLocally(book: loreBook){
if(!book.id) return
const chat = getCurrentChat()
const childLore = chat?.localLore?.find(e => e.id === book.id)
if(childLore){