diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-11-03 16:58:32 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-11-03 16:58:32 +0100 |
| commit | 17d7617a0c1146e9bf77a5d484acb747fbb5c7b5 (patch) | |
| tree | f1177aef365d2ba87f2a0f5360ca03e0eb7d2b70 /src/App.js | |
| parent | 72877b5c06dd46f7334029664175fabd4e7e16ab (diff) | |
Add background image.
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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})` } } } } |
