From 19a1f3111bb760be50f89a7e6aa5c354563dd320 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 bd6087f2fa..dd7bd5edb1 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,