Skip to content
Snippets Groups Projects
Commit 17d7617a authored by lain's avatar lain
Browse files

Add background image.

parent 72877b5c
No related branches found
No related tags found
No related merge requests found
<div id="app">
<div id="app" v-bind:style="style">
<nav class='container'>
<div class='item'>
<a route-to='friends-timeline' href="#">Pleroma FE</a>
......
......@@ -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})` } }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment