aboutsummaryrefslogtreecommitdiff
path: root/src/components/follow_card/follow_card.vue
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-10-08 17:07:01 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-10-08 17:07:01 +0300
commit78e8a49f40f71d557d4b7c7bf31cb74fb7a3b6d8 (patch)
tree06b550ee80566010d85805bedbe2113dfcad3b32 /src/components/follow_card/follow_card.vue
parent122323f35c32a4f12a345a8b3f163e9318f5dea3 (diff)
fix follow request on search page
Diffstat (limited to 'src/components/follow_card/follow_card.vue')
-rw-r--r--src/components/follow_card/follow_card.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/follow_card/follow_card.vue b/src/components/follow_card/follow_card.vue
index 310fe843..a9d237bb 100644
--- a/src/components/follow_card/follow_card.vue
+++ b/src/components/follow_card/follow_card.vue
@@ -20,13 +20,13 @@
v-if="!user.following"
class="btn btn-default follow-card-follow-button"
:disabled="inProgress"
- :title="requestSent ? $t('user_card.follow_again') : ''"
+ :title="user.requested ? $t('user_card.follow_again') : ''"
@click="followUser"
>
<template v-if="inProgress">
{{ $t('user_card.follow_progress') }}
</template>
- <template v-else-if="requestSent">
+ <template v-else-if="user.requested">
{{ $t('user_card.follow_sent') }}
</template>
<template v-else>