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 e2b14c9 commit e355274Copy full SHA for e355274
packages/framework/src/Framework/Features/Navigation/NavigationMenuGenerator.php
@@ -120,14 +120,14 @@ protected function canAddRoute(Route $route): bool
120
121
protected function canGroupRoute(Route $route): bool
122
{
123
- if (! $this->usesGroups) {
124
- return false;
125
- }
126
-
127
if (! $this->generatesSidebar) {
128
return $route->getPage()->navigationMenuGroup() !== null;
129
}
130
+ if (! $this->usesGroups) {
+ return false;
+ }
+
131
return true;
132
133
0 commit comments