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:
Henry Jameson 2018-08-13 16:17:00 +03:00
parent d417cb35bb
commit 18117c3bfa

View file

@ -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'
]
}