Skip to content

Commit

Permalink
fix: issues navigation tab active status
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolsinghbhatia committed Feb 5, 2025
1 parent 1a523ef commit 1ca31e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/core/components/workspace/sidebar/project-navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,11 @@ export const ProjectNavigation: FC<TProjectItemsProps> = observer((props) => {
<Link href={item.href} onClick={handleProjectClick}>
<SidebarNavItem
className={`pl-[18px] ${isSidebarCollapsed ? "p-0 size-7 justify-center mx-auto" : ""}`}
isActive={pathname.includes(item.href)}
isActive={
item.key === "issues"
? pathname.includes(item.href) || pathname.includes(`/${workspaceSlug}/browse/`)
: pathname.includes(item.href)
}
>
<div className="flex items-center gap-1.5 py-[1px]">
<item.icon
Expand Down

0 comments on commit 1ca31e0

Please sign in to comment.