fix: issue of local lore deactive in prev commit
This commit is contained in:
@@ -70,6 +70,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function DeactivateLocally(book: loreBook){
|
function DeactivateLocally(book: loreBook){
|
||||||
|
if(!book.id) return
|
||||||
const chat = getCurrentChat()
|
const chat = getCurrentChat()
|
||||||
const childLore = chat?.localLore?.find(e => e.id === book.id)
|
const childLore = chat?.localLore?.find(e => e.id === book.id)
|
||||||
if(childLore){
|
if(childLore){
|
||||||
|
|||||||
Reference in New Issue
Block a user