fix default followreq tab

This commit is contained in:
Lhc_fl 2024-10-06 21:00:25 +08:00 committed by Hazelnoot
parent 0e6ba9ccd4
commit 0c03f9ead0

View File

@ -95,7 +95,7 @@ const headerTabs = computed(() => [
}, },
]); ]);
const tab = ref($i?.hasPendingSentFollowRequest ? 'sent' : 'list'); const tab = ref($i?.isLocked && !$i.hasPendingSentFollowRequest ? 'list' : 'sent');
definePageMetadata(() => ({ definePageMetadata(() => ({
title: i18n.ts.followRequests, title: i18n.ts.followRequests,