storing entire config instead of each separate thing of it, so that future
options won't be lost during reloads because developer forgot to update that list of settings to be persisted
This commit is contained in:
parent
d417cb35bb
commit
18117c3bfa
10
src/main.js
10
src/main.js
|
@ -45,15 +45,7 @@ Vue.use(VueChatScroll)
|
|||
|
||||
const persistedStateOptions = {
|
||||
paths: [
|
||||
'config.hideAttachments',
|
||||
'config.hideAttachmentsInConv',
|
||||
'config.hideNsfw',
|
||||
'config.autoLoad',
|
||||
'config.hoverPreview',
|
||||
'config.streaming',
|
||||
'config.muteWords',
|
||||
'config.customTheme',
|
||||
'config.highlight',
|
||||
'config',
|
||||
'users.lastLoginName'
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue