Skip to content

Commit

Permalink
fix: Duplicated Nav Items when manual nav is in a stack
Browse files Browse the repository at this point in the history
URL: /support/duplicated-nav-items-when-manual-nav-is-in-a-stack/
  • Loading branch information
shahroq committed Nov 1, 2021
1 parent bab84cd commit 0f5bbf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blocks/whale_manual_nav/controller.php
Expand Up @@ -148,6 +148,7 @@ public function getNavItems()
{
$jh = Core::make('helper/json');

$this->nav = array();
$this->level = 1;
$this->cIDCurrent = Page::getCurrentPage()->getCollectionID();
$this->selectedPathCIDs = array($this->cIDCurrent);
Expand Down

0 comments on commit 0f5bbf6

Please sign in to comment.