pleroma-fe/src/components/user_card/user_card.js
2017-08-23 19:14:06 +03:00

23 lines
365 B
JavaScript

import UserCardContent from '../user_card_content/user_card_content.vue'
const UserCard = {
props: [
'user',
'showFollows'
],
data () {
return {
userExpanded: false
}
},
components: {
UserCardContent
},
methods: {
toggleUserExpanded () {
this.userExpanded = !this.userExpanded
}
}
}
export default UserCard