diff options
| author | lambda <pleromagit@rogerbraun.net> | 2017-11-13 09:10:44 +0000 |
|---|---|---|
| committer | lambda <pleromagit@rogerbraun.net> | 2017-11-13 09:10:44 +0000 |
| commit | d6478068f87689b981ed1e5b54e28433c9f89ef6 (patch) | |
| tree | 0e42be99b102f84bb70c288ccf854dfbf0bf3c3f /src/components/settings/settings.js | |
| parent | f74ad6d3e1cbfa3d855bdd993d2d6a060b8deb2d (diff) | |
| parent | 46f23b7de7a5e27dd4f9f13f063d263fbb1ec85d (diff) | |
Merge branch 'feature/streaming-posts' into 'develop'
Streaming posts
See merge request pleroma/pleroma-fe!151
Diffstat (limited to 'src/components/settings/settings.js')
| -rw-r--r-- | src/components/settings/settings.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js index b3bb8290..b88937bb 100644 --- a/src/components/settings/settings.js +++ b/src/components/settings/settings.js @@ -9,6 +9,7 @@ const settings = { hideNsfwLocal: this.$store.state.config.hideNsfw, muteWordsString: this.$store.state.config.muteWords.join('\n'), autoLoadLocal: this.$store.state.config.autoLoad, + streamingLocal: this.$store.state.config.streaming, hoverPreviewLocal: this.$store.state.config.hoverPreview } }, @@ -33,6 +34,9 @@ const settings = { autoLoadLocal (value) { this.$store.dispatch('setOption', { name: 'autoLoad', value }) }, + streamingLocal (value) { + this.$store.dispatch('setOption', { name: 'streaming', value }) + }, hoverPreviewLocal (value) { this.$store.dispatch('setOption', { name: 'hoverPreview', value }) }, |
