1
0

ux: should not show follow requests tab when have no pending sent follow req

This commit is contained in:
Lhc_fl
2024-10-06 19:12:13 +08:00
committed by Hazelnoot
parent 1eacf0772c
commit 0e6ba9ccd4
6 changed files with 19 additions and 2 deletions
+1
View File
@@ -41,6 +41,7 @@ export const navbarItemDef = reactive({
followRequests: {
title: i18n.ts.followRequests,
icon: 'ti ti-user-plus',
show: computed(() => $i != null && ($i.isLocked || $i.hasPendingSentFollowRequest)),
indicated: computed(() => $i != null && $i.hasPendingReceivedFollowRequest),
to: '/my/follow-requests',
},