Add init value for persona large portrait (#290)

# PR Checklist
- [x] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [x] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [x] Did you added a type def?

# Description
It seems I missed this in previous pull request..
This commit is contained in:
kwaroran
2024-02-13 13:26:43 +09:00
committed by GitHub

View File

@@ -302,7 +302,8 @@ export function setDatabase(data:Database){
data.personas ??= [{
name: data.username,
personaPrompt: "",
icon: data.userIcon
icon: data.userIcon,
largePortrait: false
}]
data.classicMaxWidth ??= false
data.ooba ??= cloneDeep(defaultOoba)