fix: 🐛 Fix `DrawerEntry` con la route con i parametri

This commit is contained in:
Maicol Battistini 2023-06-07 17:27:11 +02:00
parent ec95b28e31
commit 2a2eaf609e
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export class DrawerEntry<A extends DrawerEntryAttributes = DrawerEntryAttributes
}
isRouteActive(href: string) {
return route(route().current()!) === href;
return route(route().current()!, route().params) === href;
}
navigateToRoute(event: Event) {