From 95ca9701e9a07ab83f632128ff91279896f38e75 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Fri, 19 May 2023 22:52:14 -0700 Subject: [PATCH] fix: show follow requests even if not locked --- locales/en-US.yml | 1 + packages/client/src/navbar.ts | 2 +- packages/client/src/pages/follow-requests.vue | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index ec24104b0..b3944b1e5 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1088,6 +1088,7 @@ preventAiLearning: "Prevent AI bot scraping" preventAiLearningDescription: "Request third-party AI language models not to study\ \ content you upload, such as posts and images." noGraze: "Please disable the \"Graze for Mastodon\" browser extension, as it interferes with Calckey." +silencedWarning: "This page is showing because these usera are from servers your admin silenced, so they may potentially be spam." _sensitiveMediaDetection: description: "Reduces the effort of server moderation through automatically recognizing\ diff --git a/packages/client/src/navbar.ts b/packages/client/src/navbar.ts index 074e8896c..3dd71a555 100644 --- a/packages/client/src/navbar.ts +++ b/packages/client/src/navbar.ts @@ -34,7 +34,7 @@ export const navbarItemDef = reactive({ followRequests: { title: "followRequests", icon: "ph-hand-waving ph-bold ph-lg", - show: computed(() => $i?.isLocked), + show: computed(() => $i?.isLocked || $i?.hasPendingReceivedFollowRequest), indicated: computed(() => $i?.hasPendingReceivedFollowRequest), to: "/my/follow-requests", }, diff --git a/packages/client/src/pages/follow-requests.vue b/packages/client/src/pages/follow-requests.vue index 35279495b..18f797eb5 100644 --- a/packages/client/src/pages/follow-requests.vue +++ b/packages/client/src/pages/follow-requests.vue @@ -7,12 +7,19 @@
{{ i18n.ts.noFollowRequests }}