yandere_fe/src/components/user_panel/user_panel.js

19 lines
370 B
JavaScript
Raw Normal View History

2016-10-27 09:02:28 -07:00
import LoginForm from '../login_form/login_form.vue'
const UserPanel = {
computed: {
user () { return this.$store.state.users.currentUser },
style () {
return {
color: `#${this.user.profile_link_color}`,
'background-image': `url(${this.user.cover_photo})`
}
}
},
components: {
LoginForm
}
}
export default UserPanel