Rename UserCardContent to UserCard

This commit is contained in:
taehoon 2019-03-05 14:01:49 -05:00
parent baf603a506
commit 7bceabb5bd
14 changed files with 26 additions and 26 deletions

View file

@ -1,6 +1,6 @@
import { compose } from 'vue-compose'
import get from 'lodash/get'
import UserCardContent from '../user_card_content/user_card_content.vue'
import UserCard from '../user_card/user_card.vue'
import FollowCard from '../follow_card/follow_card.vue'
import Timeline from '../timeline/timeline.vue'
import withLoadMore from '../../hocs/with_load_more/with_load_more'
@ -147,7 +147,7 @@ const UserProfile = {
}
},
components: {
UserCardContent,
UserCard,
Timeline,
FollowerList,
FriendList

View file

@ -1,7 +1,7 @@
<template>
<div>
<div v-if="user.id" class="user-profile panel panel-default">
<UserCardContent :user="user" :switcher="true" :selected="timeline.viewing" rounded="top"/>
<UserCard :user="user" :switcher="true" :selected="timeline.viewing" rounded="top"/>
<tab-switcher :renderOnlyFocused="true" ref="tabSwitcher">
<Timeline
:label="$t('user_card.statuses')"