make sure all invoices routes show active state in the navigation

This commit is contained in:
Gregor Vostrak
2026-08-18 13:19:25 +02:00
parent f1426fcb5e
commit 0e00979ab8

View File

@@ -253,7 +253,9 @@ const page = usePage<{
v-if="isInvoicingActivated() && canViewInvoices()"
title="Invoices"
:icon="DocumentTextIcon"
:current="route().current('invoices')"
:current="
route().current('invoices') || route().current('invoices.*')
"
href="/invoices"></NavigationSidebarItem>
</ul>
</nav>