Skip to content

Commit 22da970

Browse files
committed
Remove type check for old class
1 parent 798acda commit 22da970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Framework/Features/Navigation/NavigationItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static function create(Route|string $destination, ?string $label = null,
6464
$destination = Routes::get($destination);
6565
}
6666

67-
if ($destination instanceof Route && ! $destination instanceof ExternalRoute) {
67+
if ($destination instanceof Route) {
6868
return new self(
6969
$destination,
7070
$label ?? $destination->getPage()->navigationMenuLabel(),

0 commit comments

Comments
 (0)