Fix types
This commit is contained in:
parent
c436fc6299
commit
4b2ffa1c72
|
@ -77,7 +77,7 @@
|
||||||
}
|
}
|
||||||
Object.entries(getChatDefaults()).forEach(([k, v]) => {
|
Object.entries(getChatDefaults()).forEach(([k, v]) => {
|
||||||
const val = chat.settings[k]
|
const val = chat.settings[k]
|
||||||
chat.settings[k] = (val === undefined || val === null ? v : chat.settings[k]) as any
|
chat.settings[k] = (val === undefined || val === null ? v : chat.settings[k])
|
||||||
})
|
})
|
||||||
// make sure old chat messages have UUID
|
// make sure old chat messages have UUID
|
||||||
chat.messages.forEach((m) => {
|
chat.messages.forEach((m) => {
|
||||||
|
|
Loading…
Reference in New Issue