mirror of
https://github.com/snowball-tools/snowballtools-base
synced 2025-01-08 19:28:04 +00:00
panel goes to projects page
This commit is contained in:
parent
effa0bbf14
commit
355118565b
@ -105,7 +105,12 @@ const Sidebar = () => {
|
||||
{ title: 'Projects', icon: <FolderIcon /> },
|
||||
{ title: 'Settings', icon: <SettingsSlidersIcon /> },
|
||||
].map(({ title, icon }, index) => (
|
||||
<NavLink to={`/${orgSlug}/${title}`} key={index}>
|
||||
<NavLink
|
||||
to={
|
||||
title === 'Projects' ? `/${orgSlug}` : `/${orgSlug}/${title}`
|
||||
}
|
||||
key={index}
|
||||
>
|
||||
<Tabs.Trigger icon={icon} value={title}>
|
||||
{title}
|
||||
</Tabs.Trigger>
|
||||
|
Loading…
Reference in New Issue
Block a user