Skip to content

Commit

Permalink
fix: app sidebar dropdown fix (makeplane#2751)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolsinghbhatia authored Nov 10, 2023
1 parent d479781 commit e78dd4b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions web/components/workspace/sidebar-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,12 @@ export const WorkspaceSidebarDropdown = observer(() => {
<Menu.Item
key={index}
as="div"
className="flex w-full items-center justify-start rounded px-2 py-1 text-sm text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-80"
onClick={() => {
router.push(link.href);
}}
className="flex w-full items-center cursor-pointer justify-start rounded px-2 py-1 text-sm text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-80"
>
<Link href={link.href}>
<a className="w-full">{link.name}</a>
</Link>
{link.name}
</Menu.Item>
))}
</div>
Expand Down

0 comments on commit e78dd4b

Please sign in to comment.