forked from AkkomaGang/akkoma-fe
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 = {
|
const persistedStateOptions = {
|
||||||
paths: [
|
paths: [
|
||||||
'config.hideAttachments',
|
'config',
|
||||||
'config.hideAttachmentsInConv',
|
|
||||||
'config.hideNsfw',
|
|
||||||
'config.autoLoad',
|
|
||||||
'config.hoverPreview',
|
|
||||||
'config.streaming',
|
|
||||||
'config.muteWords',
|
|
||||||
'config.customTheme',
|
|
||||||
'config.highlight',
|
|
||||||
'users.lastLoginName'
|
'users.lastLoginName'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue