diff options
| author | Maksim Pechnikov <parallel588@gmail.com> | 2019-10-17 20:24:54 +0300 |
|---|---|---|
| committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-10-17 20:29:18 +0300 |
| commit | b3f590ceb3e2710b278093a7246a3bf53c9aaafd (patch) | |
| tree | 1ccf1cb9dfc02ae593e3348f2489e6348ba3523d /src/components/follow_card | |
| parent | 60828f119c5b8f5de1ba6f6a9d774ef0e813405b (diff) | |
clear code
Diffstat (limited to 'src/components/follow_card')
| -rw-r--r-- | src/components/follow_card/follow_card.js | 5 | ||||
| -rw-r--r-- | src/components/follow_card/follow_card.vue | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/components/follow_card/follow_card.js b/src/components/follow_card/follow_card.js index 2c3231a9..aefd609e 100644 --- a/src/components/follow_card/follow_card.js +++ b/src/components/follow_card/follow_card.js @@ -7,9 +7,6 @@ const FollowCard = { 'user', 'noFollowsYou' ], - data () { - return { } - }, components: { BasicUserCard, RemoteFollow, @@ -22,8 +19,6 @@ const FollowCard = { loggedIn () { return this.$store.state.users.currentUser } - }, - methods: { } } diff --git a/src/components/follow_card/follow_card.vue b/src/components/follow_card/follow_card.vue index a43cac4e..81e6e6dc 100644 --- a/src/components/follow_card/follow_card.vue +++ b/src/components/follow_card/follow_card.vue @@ -18,7 +18,7 @@ <template v-else> <FollowButton :user="user" - button-class="follow-card-follow-button" + class="follow-card-follow-button" :label-following="$t('user_card.follow_unfollow')" /> </template> |
