diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-08-23 12:40:39 -0400 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-08-23 12:40:39 -0400 |
| commit | 2bc261afbaf9377450999e49a5fe46dcbcc8b180 (patch) | |
| tree | 92d346b6bba58b7a3aef6155c9f3073028a07cf0 /src/components/user_card/user_card.js | |
| parent | 5a1ad8409244ca7deb224b172ceb2b4acf7b8614 (diff) | |
| parent | e1ec01dc3ef90c0dc033d2e648da9a2acf8a1bdd (diff) | |
Merge branch 'feature/follow-lists' into 'develop'
Feature/follow lists
See merge request !106
Diffstat (limited to 'src/components/user_card/user_card.js')
| -rw-r--r-- | src/components/user_card/user_card.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js new file mode 100644 index 00000000..a7a871c3 --- /dev/null +++ b/src/components/user_card/user_card.js @@ -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 |
