aboutsummaryrefslogtreecommitdiff
path: root/src/components/account_actions/account_actions.vue
diff options
context:
space:
mode:
authorSean King <seanking2919@protonmail.com>2022-09-15 22:02:58 -0600
committerSean King <seanking2919@protonmail.com>2022-09-15 22:02:58 -0600
commit12d8d1711bb41b14c35914cb82a6d5f41943e198 (patch)
tree166658b8222b865b4e89f010c977838c54de95ec /src/components/account_actions/account_actions.vue
parentd8730cad602fe5ba7faf7cefc4a1a67cd0896d9d (diff)
Added support for removing users from followers
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..9bcde9fe 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_this_follower') }}
+ </button>
+ <button
v-if="relationship.blocking"
class="btn button-default btn-block dropdown-item"
@click="unblockUser"