diff options
| author | Hakaba Hitoyo <hakabahitoyo@example.com> | 2018-03-28 14:55:12 +0900 |
|---|---|---|
| committer | Hakaba Hitoyo <hakabahitoyo@example.com> | 2018-03-28 14:55:12 +0900 |
| commit | 6b6b7406841e7db7a08bf6a86c87a8613d126452 (patch) | |
| tree | 753d904580ff5cc44ce84981cbaaf1c38d8107e7 /src/main.js | |
| parent | 90e3ab45d4aee7b693b8e404321adfe8339595e1 (diff) | |
| parent | b32573138b7607b8d9070100fb792f0241a4ba80 (diff) | |
Merge remote-tracking branch 'origin/feature/who-to-follow-panel' into feature/who-to-follow-panel-2
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 6f8c00f0..5c74da3a 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') |
