ux: should not show follow requests tab when have no pending sent follow req
This commit is contained in:
@@ -40,6 +40,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',
|
||||
},
|
||||
|
Reference in New Issue
Block a user