diff --git a/packages/framework/src/Framework/Features/Navigation/NavItem.php b/packages/framework/src/Framework/Features/Navigation/NavItem.php index 18ee08de286..50e2c563bf7 100644 --- a/packages/framework/src/Framework/Features/Navigation/NavItem.php +++ b/packages/framework/src/Framework/Features/Navigation/NavItem.php @@ -197,7 +197,7 @@ public function hasChildren(): bool */ public function isCurrent(): bool { - return Hyde::currentRoute()->getLink() === $this->destination->getLink(); + return $this->destination->is(Hyde::currentRoute()); } /**