mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 12:12:15 +01:00
add reporting submenus to navbar
This commit is contained in:
committed by
Constantin Graf
parent
2560619c15
commit
9c82efdf07
@@ -114,13 +114,27 @@ const page = usePage<{
|
||||
<NavigationSidebarItem
|
||||
title="Reporting"
|
||||
:icon="ChartBarIcon"
|
||||
:sub-items="[
|
||||
{
|
||||
title: 'Overview',
|
||||
route: 'reporting',
|
||||
},
|
||||
{
|
||||
title: 'Detailed',
|
||||
route: 'reporting.detailed',
|
||||
},
|
||||
{
|
||||
title: 'Shared',
|
||||
route: 'reporting.shared',
|
||||
},
|
||||
]"
|
||||
:current="
|
||||
route().current('reporting') ||
|
||||
route().current('reporting.detailed')
|
||||
route().current('reporting.detailed') ||
|
||||
route().current('reporting.shared')
|
||||
"
|
||||
:href="
|
||||
route('reporting')
|
||||
"></NavigationSidebarItem>
|
||||
:href="route('reporting')">
|
||||
</NavigationSidebarItem>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user