Utilize user.requested to display follow request status on user card

Closes #635
This commit is contained in:
rinpatch 2019-09-05 11:16:11 +03:00
parent c89703a359
commit 424d4ab57e
3 changed files with 7 additions and 12 deletions

View file

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