We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c4a94 commit aa97f5dCopy full SHA for aa97f5d
1 file changed
Menu/Builder.php
@@ -65,12 +65,12 @@ private function resolve(array $item, array $keys)
65
66
public function isCurrentRoot(?string $root): bool
67
{
68
- return $this->getCurrentAttribute('_root') === $root;
+ return $this->getCurrentAttribute('_menu_root') === $root;
69
}
70
71
public function isCurrentBranch(?string $branch): bool
72
73
- return $this->getCurrentAttribute('_branch') === $branch;
+ return $this->getCurrentAttribute('_menu_branch') === $branch;
74
75
76
public function isCurrentRoute(?string $route): bool
0 commit comments