[fix] chat lorebook sets to character loreboo
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
},
|
||||
"package": {
|
||||
"productName": "RisuAI",
|
||||
"version": "1.17.0"
|
||||
"version": "1.17.1"
|
||||
},
|
||||
"tauri": {
|
||||
"allowlist": {
|
||||
|
||||
@@ -7,7 +7,7 @@ import { cloneDeep } from 'lodash';
|
||||
|
||||
export const DataBase = writable({} as any as Database)
|
||||
export const loadedStore = writable(false)
|
||||
export let appVer = '1.17.0'
|
||||
export let appVer = '1.17.1'
|
||||
|
||||
|
||||
export function setDatabase(data:Database){
|
||||
|
||||
@@ -209,7 +209,7 @@ export async function importLoreBook(mode:'global'|'local'|'sglobal'){
|
||||
if(mode === 'global'){
|
||||
db.characters[selectedID].globalLore = lore
|
||||
}
|
||||
if(mode === 'sglobal'){
|
||||
else if(mode === 'sglobal'){
|
||||
db.loreBook[db.loreBookPage].data = lore
|
||||
}
|
||||
else{
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":"1.17.0"}
|
||||
{"version":"1.17.1"}
|
||||
Reference in New Issue
Block a user