aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-02-16 17:44:36 +0100
committerRoger Braun <roger@rogerbraun.net>2017-02-16 17:44:36 +0100
commitce5b3d4c924d6e94b6fbde3c50fdb209e4ec1fab (patch)
tree1ab3d018a65d8b13196bed48fa40e16e400e9fdf /src/main.js
parenta3b2be09b3acab977682cc4cc4cebc7d9229f036 (diff)
Add logo.
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js
index 68653c37..0e43518d 100644
--- a/src/main.js
+++ b/src/main.js
@@ -71,8 +71,9 @@ new Vue({
window.fetch('/static/config.json')
.then((res) => res.json())
- .then(({name, theme, background}) => {
+ .then(({name, theme, background, logo}) => {
store.dispatch('setOption', { name: 'name', value: name })
store.dispatch('setOption', { name: 'theme', value: theme })
store.dispatch('setOption', { name: 'background', value: background })
+ store.dispatch('setOption', { name: 'logo', value: logo })
})