From 80f58baa86433aab14ce68a47230bd26c52f5be9 Mon Sep 17 00:00:00 2001 From: Sean King Date: Sat, 17 Sep 2022 11:36:34 -0600 Subject: [PATCH] Change "Remove this follower" to "Remove Follower" and add a button to remove a follower in the followers tab for the logged in user --- .../account_actions/account_actions.vue | 2 +- src/components/follow_card/follow_card.js | 4 ++- src/components/follow_card/follow_card.vue | 11 ++++++++ .../remove_follower_button.js | 25 +++++++++++++++++++ .../remove_follower_button.vue | 13 ++++++++++ src/i18n/en.json | 2 +- 6 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 src/components/remove_follower_button/remove_follower_button.js create mode 100644 src/components/remove_follower_button/remove_follower_button.vue diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index 71562b0c..2f86b102 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -33,7 +33,7 @@ class="btn button-default btn-block dropdown-item" @click="removeUserFromFollowers" > - {{ $t('user_card.remove_this_follower') }} + {{ $t('user_card.remove_follower') }}