Skip to content

Commit

Permalink
feat: [HAAR-2611] Introduce changes allowing for navigation endpoint …
Browse files Browse the repository at this point in the history
…customization
  • Loading branch information
Karolina Pawlus authored and Karolina Pawlus committed Jun 11, 2021
1 parent 89da360 commit 3ab1549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Block/Navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function getCacheKeyInfo()
$this->httpContext->getValue(\Magento\Customer\Model\Context::CONTEXT_AUTH)
];
}

public function getMobileNavigationEndpointUrl()
{
return $this->getUrl('navigation/mobile/index');
Expand Down
2 changes: 1 addition & 1 deletion Service/Navigation/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected function getChildrenCategories($category)
return $categories;
}

protected function isVisible($category, $navigationType = self::TYPE_DESKTOP)
public function isVisible($category, $navigationType = self::TYPE_DESKTOP)
{
if ($navigationType == self::TYPE_MOBILE) {
return $category->getIncludeInMobileNavigation();
Expand Down

0 comments on commit 3ab1549

Please sign in to comment.