From 0c03f9ead012ffaf46bd4d06460dfec820e7451b Mon Sep 17 00:00:00 2001 From: Lhc_fl Date: Sun, 6 Oct 2024 21:00:25 +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 38557091e1..bd6087f2fa 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?.hasPendingSentFollowRequest ? 'sent' : 'list'); +const tab = ref($i?.isLocked && !$i.hasPendingSentFollowRequest ? 'list' : 'sent'); definePageMetadata(() => ({ title: i18n.ts.followRequests,