|
|
@ -14,6 +14,7 @@ const settings = {
|
|
|
|
hideAttachmentsInConvLocal: user.hideAttachmentsInConv,
|
|
|
|
hideAttachmentsInConvLocal: user.hideAttachmentsInConv,
|
|
|
|
hideNsfwLocal: user.hideNsfw,
|
|
|
|
hideNsfwLocal: user.hideNsfw,
|
|
|
|
hideISPLocal: user.hideISP,
|
|
|
|
hideISPLocal: user.hideISP,
|
|
|
|
|
|
|
|
preloadImage: user.preloadImage,
|
|
|
|
hidePostStatsLocal: typeof user.hidePostStats === 'undefined'
|
|
|
|
hidePostStatsLocal: typeof user.hidePostStats === 'undefined'
|
|
|
|
? instance.hidePostStats
|
|
|
|
? instance.hidePostStats
|
|
|
|
: user.hidePostStats,
|
|
|
|
: user.hidePostStats,
|
|
|
@ -84,6 +85,9 @@ const settings = {
|
|
|
|
hideNsfwLocal (value) {
|
|
|
|
hideNsfwLocal (value) {
|
|
|
|
this.$store.dispatch('setOption', { name: 'hideNsfw', value })
|
|
|
|
this.$store.dispatch('setOption', { name: 'hideNsfw', value })
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
preloadImage (value) {
|
|
|
|
|
|
|
|
this.$store.dispatch('setOption', { name: 'preloadImage', value })
|
|
|
|
|
|
|
|
},
|
|
|
|
hideISPLocal (value) {
|
|
|
|
hideISPLocal (value) {
|
|
|
|
this.$store.dispatch('setOption', { name: 'hideISP', value })
|
|
|
|
this.$store.dispatch('setOption', { name: 'hideISP', value })
|
|
|
|
},
|
|
|
|
},
|
|
|
|