fix: 🐛 Fix `DrawerEntry` con la route con i parametri
This commit is contained in:
parent
ec95b28e31
commit
2a2eaf609e
|
@ -29,7 +29,7 @@ export class DrawerEntry<A extends DrawerEntryAttributes = DrawerEntryAttributes
|
||||||
}
|
}
|
||||||
|
|
||||||
isRouteActive(href: string) {
|
isRouteActive(href: string) {
|
||||||
return route(route().current()!) === href;
|
return route(route().current()!, route().params) === href;
|
||||||
}
|
}
|
||||||
|
|
||||||
navigateToRoute(event: Event) {
|
navigateToRoute(event: Event) {
|
||||||
|
|
Loading…
Reference in New Issue