From 849344121cf6f37f58f1383fa41125761f5bf4da Mon Sep 17 00:00:00 2001 From: Lhc_fl Date: Sun, 6 Oct 2024 21:03:56 +0800 Subject: [PATCH] fix default followreq tab --- packages/frontend/src/pages/follow-requests.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/follow-requests.vue b/packages/frontend/src/pages/follow-requests.vue index 39ef4ec38d..2c051142b3 100644 --- a/packages/frontend/src/pages/follow-requests.vue +++ b/packages/frontend/src/pages/follow-requests.vue @@ -95,7 +95,7 @@ const headerTabs = computed(() => [ }, ]); -const tab = ref($i?.isLocked && !$i.hasPendingSentFollowRequest ? 'list' : 'sent'); +const tab = ref($i?.isLocked || !$i.hasPendingSentFollowRequest ? 'list' : 'sent'); definePageMetadata(() => ({ title: i18n.ts.followRequests,