mirror of
https://git.youjo.love/youjo/youjo-fe.git
synced 2024-11-20 13:59:55 +01:00
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
1 changed files with 1 additions and 9 deletions
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 a new issue