Revert "storing entire config instead of each separate thing of it, so that future"
This reverts commit 18117c3bfa
.
b/c something else uses same field but i want to fix that in another MR
This commit is contained in:
parent
627e227076
commit
99f849bd8c
2 changed files with 14 additions and 1 deletions
14
src/main.js
14
src/main.js
|
@ -45,7 +45,19 @@ Vue.use(VueChatScroll)
|
||||||
|
|
||||||
const persistedStateOptions = {
|
const persistedStateOptions = {
|
||||||
paths: [
|
paths: [
|
||||||
'config',
|
'config.hideAttachments',
|
||||||
|
'config.hideAttachmentsInConv',
|
||||||
|
'config.hideNsfw',
|
||||||
|
'config.autoLoad',
|
||||||
|
'config.hoverPreview',
|
||||||
|
'config.streaming',
|
||||||
|
'config.muteWords',
|
||||||
|
'config.customTheme',
|
||||||
|
'config.highlight',
|
||||||
|
'config.loopVideo',
|
||||||
|
'config.loopVideoSilentOnly',
|
||||||
|
'config.pauseOnUnfocused',
|
||||||
|
'config.stopGifs',
|
||||||
'users.lastLoginName'
|
'users.lastLoginName'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@ const defaultState = {
|
||||||
streaming: false,
|
streaming: false,
|
||||||
hoverPreview: true,
|
hoverPreview: true,
|
||||||
pauseOnUnfocused: true,
|
pauseOnUnfocused: true,
|
||||||
|
stopGifs: false,
|
||||||
muteWords: [],
|
muteWords: [],
|
||||||
highlight: {}
|
highlight: {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue