aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index 48284b4c..3c677566 100644
--- a/src/App.js
+++ b/src/App.js
@@ -4,5 +4,9 @@ export default {
name: 'app',
components: {
UserPanel
+ },
+ computed: {
+ user () { return this.$store.state.users.currentUser || {} },
+ style () { return { 'background-image': `url(${this.user.background_image})` } }
}
}