diff --git a/pkg/interface/src/views/landscape/components/Sidebar/SidebarItem.tsx b/pkg/interface/src/views/landscape/components/Sidebar/SidebarItem.tsx index 8a7caa6cc7..98b723d9f9 100644 --- a/pkg/interface/src/views/landscape/components/Sidebar/SidebarItem.tsx +++ b/pkg/interface/src/views/landscape/components/Sidebar/SidebarItem.tsx @@ -24,13 +24,13 @@ function useAssociationStatus(resource: string) { const { count, each } = stats; const hasNotifications = false; const hasUnread = count > 0 || each.length > 0; - return hasNotifications + return !isSubscribed + ? 'unsubscribed' + : hasNotifications ? 'notification' : hasUnread ? 'unread' - : isSubscribed - ? undefined - : 'unsubscribed'; + : undefined; } function SidebarItemBase(props: {