clear code
This commit is contained in:
parent
60828f119c
commit
b3f590ceb3
@ -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"
|
||||
|
@ -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: {
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user