aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_card/user_card.vue
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-05 11:16:11 +0300
committerrinpatch <rinpatch@sdf.org>2019-09-05 11:17:53 +0300
commit424d4ab57e13a8a271a16e063ce70af98759f8f9 (patch)
tree80a46aa573375f769c63db047966a3faaaed1b78 /src/components/user_card/user_card.vue
parentc89703a35980f900b4d206538dc07f83e87c84d8 (diff)
Utilize `user.requested` to display follow request status on user card
Closes #635
Diffstat (limited to 'src/components/user_card/user_card.vue')
-rw-r--r--src/components/user_card/user_card.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue
index fc18e240..0b83cf16 100644
--- a/src/components/user_card/user_card.vue
+++ b/src/components/user_card/user_card.vue
@@ -135,13 +135,13 @@
<button
class="btn btn-default btn-block"
:disabled="followRequestInProgress"
- :title="followRequestSent ? $t('user_card.follow_again') : ''"
+ :title="user.requested ? $t('user_card.follow_again') : ''"
@click="followUser"
>
<template v-if="followRequestInProgress">
{{ $t('user_card.follow_progress') }}
</template>
- <template v-else-if="followRequestSent">
+ <template v-else-if="user.requested">
{{ $t('user_card.follow_sent') }}
</template>
<template v-else>