mirror of
https://github.com/snowball-tools/snowballtools-base
synced 2025-01-09 09:58: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: 'Projects', icon: <FolderIcon /> },
|
||||||
{ title: 'Settings', icon: <SettingsSlidersIcon /> },
|
{ title: 'Settings', icon: <SettingsSlidersIcon /> },
|
||||||
].map(({ title, icon }, index) => (
|
].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}>
|
<Tabs.Trigger icon={icon} value={title}>
|
||||||
{title}
|
{title}
|
||||||
</Tabs.Trigger>
|
</Tabs.Trigger>
|
||||||
|
Loading…
Reference in New Issue
Block a user