diff options
| author | Hakaba Hitoyo <example@example.com> | 2018-05-04 23:50:14 +0900 |
|---|---|---|
| committer | Hakaba Hitoyo <example@example.com> | 2018-05-04 23:50:14 +0900 |
| commit | 77ffa894642b358fd9478207f519f991f3780545 (patch) | |
| tree | 2beea770e8c19474d1511c695e167cd90c69f53f /src/main.js | |
| parent | e341354cc7d3d83982ff5983b3433c35fc044bbf (diff) | |
| parent | 033170212f59ee2e0757fcc0264f64a15e638f64 (diff) | |
Merge remote-tracking branch 'origin/feature/who-to-follow-panel-2' into feature/who-to-follow-panel-configurable
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index 7ca34adf..a40c51f2 100644 --- a/src/main.js +++ b/src/main.js @@ -88,10 +88,11 @@ window.fetch('/api/statusnet/config.json') window.fetch('/static/config.json') .then((res) => res.json()) .then((data) => { - const {theme, background, logo, showInstanceSpecificPanel} = data + const {theme, background, logo, showWhoToFollowPanel, showInstanceSpecificPanel} = data store.dispatch('setOption', { name: 'theme', value: theme }) store.dispatch('setOption', { name: 'background', value: background }) store.dispatch('setOption', { name: 'logo', value: logo }) + store.dispatch('setOption', { name: 'showWhoToFollowPanel', value: showWhoToFollowPanel }) store.dispatch('setOption', { name: 'showInstanceSpecificPanel', value: showInstanceSpecificPanel }) if (data['chatDisabled']) { store.dispatch('disableChat') |
