diff options
| author | Hakaba Hitoyo <example@example.com> | 2018-02-11 23:12:05 +0900 |
|---|---|---|
| committer | hakabahitoyo <hakabahitoyo@example.com> | 2018-02-24 23:04:44 +0900 |
| commit | b32573138b7607b8d9070100fb792f0241a4ba80 (patch) | |
| tree | d9f8e84fa2267638f69ef19c3391ae5998898c89 /src/main.js | |
| parent | ea6ee2aaa25741078e3a0f6f6ec7cfeb46d1b365 (diff) | |
Add who-to-follow-panel
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') |
