pleroma-fe/src/App.js
2016-11-03 16:58:32 +01:00

12 lines
302 B
JavaScript

import UserPanel from './components/user_panel/user_panel.vue'
export default {
name: 'app',
components: {
UserPanel
},
computed: {
user () { return this.$store.state.users.currentUser || {} },
style () { return { 'background-image': `url(${this.user.background_image})` } }
}
}