aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings/settings.js
diff options
context:
space:
mode:
authorjasper <jasper92341@hotmail.com>2019-02-08 13:13:11 -0800
committerjasper <jasper92341@hotmail.com>2019-02-08 13:13:11 -0800
commit92874b6902ee0d06ac4603c0b6351ccab92c60a5 (patch)
treef9319add6c0f22fdca341f87d97b04401a822880 /src/components/settings/settings.js
parent70c05a0c085adb95ef9946ac58a461f56252c2c2 (diff)
parentda0a5535eb09f6637df921a8a5f951c295bedeac (diff)
Fxing conflicts
Diffstat (limited to 'src/components/settings/settings.js')
-rw-r--r--src/components/settings/settings.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js
index 8d138485..9f2a1de4 100644
--- a/src/components/settings/settings.js
+++ b/src/components/settings/settings.js
@@ -46,6 +46,11 @@ const settings = {
: user.subjectLineBehavior,
subjectLineBehaviorDefault: instance.subjectLineBehavior,
+ postContentTypeLocal: typeof user.postContentType === 'undefined'
+ ? instance.postContentType
+ : user.postContentType,
+ postContentTypeDefault: instance.postContentType,
+
alwaysShowSubjectInputLocal: typeof user.alwaysShowSubjectInput === 'undefined'
? instance.alwaysShowSubjectInput
: user.alwaysShowSubjectInput,
@@ -157,6 +162,9 @@ const settings = {
subjectLineBehaviorLocal (value) {
this.$store.dispatch('setOption', { name: 'subjectLineBehavior', value })
},
+ postContentTypeLocal (value) {
+ this.$store.dispatch('setOption', { name: 'postContentType', value })
+ },
stopGifs (value) {
this.$store.dispatch('setOption', { name: 'stopGifs', value })
},