Add follower and following views
This commit is contained in:
parent
dbad99cb4f
commit
ccfc2e57d0
12 changed files with 229 additions and 28 deletions
23
src/components/user_card/user_card.js
Normal file
23
src/components/user_card/user_card.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue