|
|
|
@ -4,6 +4,7 @@ const settings = {
|
|
|
|
|
data () {
|
|
|
|
|
return {
|
|
|
|
|
hideAttachmentsLocal: this.$store.state.config.hideAttachments
|
|
|
|
|
hideNsfwLocal: this.$store.state.config.hideNsfw
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
components: {
|
|
|
|
@ -13,6 +14,9 @@ const settings = {
|
|
|
|
|
hideAttachmentsLocal (value) {
|
|
|
|
|
this.$store.dispatch('setOption', { name: 'hideAttachments', value })
|
|
|
|
|
}
|
|
|
|
|
hideNsfwLocal (value) {
|
|
|
|
|
this.$store.dispatch('setOption', { name: 'hideNsfw', value })
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|