clear code

This commit is contained in:
Maksim Pechnikov 2019-10-17 20:24:54 +03:00
parent 60828f119c
commit b3f590ceb3
3 changed files with 2 additions and 7 deletions

View file

@ -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"

View file

@ -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: {
}
}

View file

@ -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>