forked from github/plane
fix: app sidebar dropdown fix (#2751)
This commit is contained in:
parent
d479781fce
commit
942323f81c
@ -219,11 +219,12 @@ export const WorkspaceSidebarDropdown = observer(() => {
|
|||||||
<Menu.Item
|
<Menu.Item
|
||||||
key={index}
|
key={index}
|
||||||
as="div"
|
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}>
|
{link.name}
|
||||||
<a className="w-full">{link.name}</a>
|
|
||||||
</Link>
|
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user