diff options
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index 7fb9a047..ca968539 100644 --- a/src/main.js +++ b/src/main.js @@ -92,6 +92,7 @@ window.fetch('/static/config.json') 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: 'showInstanceSpecificPanel', value: showInstanceSpecificPanel }) if (data['chatDisabled']) { store.dispatch('disableChat') } @@ -163,3 +164,10 @@ window.fetch('/static/emoji.json') }) store.dispatch('setOption', { name: 'emoji', value: emoji }) }) + +window.fetch('/instance/panel.html') + .then((res) => res.text()) + .then((html) => { + store.dispatch('setOption', { name: 'instanceSpecificPanelContent', value: html }) + }) + |
