aboutsummaryrefslogtreecommitdiff
path: root/src/components/account_actions/account_actions.vue
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2022-09-20 18:58:32 +0000
committertusooa <tusooa@kazv.moe>2022-09-20 18:58:32 +0000
commitaa9cae8c716789b9c0952914ecbb42c1d6762b98 (patch)
tree6390dedf399a6b786bcf8add8e37f37e6a78aea1 /src/components/account_actions/account_actions.vue
parent74382595af3195e392bbce3f116cbd359b1102d9 (diff)
parent3c707608ce828a2221e496df48bd2b3f9aecd5d4 (diff)
Merge branch 'add/remove-from-followers' into 'develop'
Added support for removing users from followers See merge request pleroma/pleroma-fe!1640
Diffstat (limited to 'src/components/account_actions/account_actions.vue')
-rw-r--r--src/components/account_actions/account_actions.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue
index 770740e0..218aa6b3 100644
--- a/src/components/account_actions/account_actions.vue
+++ b/src/components/account_actions/account_actions.vue
@@ -30,6 +30,13 @@
</template>
<UserListMenu :user="user" />
<button
+ v-if="relationship.followed_by"
+ class="btn button-default btn-block dropdown-item"
+ @click="removeUserFromFollowers"
+ >
+ {{ $t('user_card.remove_follower') }}
+ </button>
+ <button
v-if="relationship.blocking"
class="btn button-default btn-block dropdown-item"
@click="unblockUser"