aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/follow_button/follow_button.vue2
-rw-r--r--src/components/follow_card/follow_card.js5
-rw-r--r--src/components/follow_card/follow_card.vue2
3 files changed, 2 insertions, 7 deletions
diff --git a/src/components/follow_button/follow_button.vue b/src/components/follow_button/follow_button.vue
index 66d899b9..f0cbb94b 100644
--- a/src/components/follow_button/follow_button.vue
+++ b/src/components/follow_button/follow_button.vue
@@ -1,7 +1,7 @@
<template>
<button
class="btn btn-default follow-button"
- :class="[buttonClass, { pressed: isPressed}]"
+ :class="{ pressed: isPressed }"
:disabled="inProgress"
:title="title"
@click="onClick"
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>