We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b82eeb8 commit f1562e4Copy full SHA for f1562e4
packages/framework/src/Framework/Features/Navigation/BaseMenuGenerator.php
@@ -96,7 +96,7 @@ protected function canAddRoute(Route $route): bool
96
// While we for the most part can rely on the navigation visibility state provided by the navigation data factory,
97
// we need to make an exception for documentation pages, which generally have a visible state, as the data is
98
// also used in the sidebar. But we only want the documentation index page to be in the main navigation.
99
- return (! $route->getPage() instanceof DocumentationPage || $route->is(DocumentationPage::homeRouteName()));
+ return ! $route->getPage() instanceof DocumentationPage || $route->is(DocumentationPage::homeRouteName());
100
}
101
102
0 commit comments