cluster navigation doesn't show on view page

Hi everyone is there a way to keep the cluster navigation visible on view resource page ?
1 Reply
Mahmoud9799
Mahmoud979911mo ago
Try this on every page you want the navigation shown
public function getSubNavigation(): array
{
if (filled($cluster = static::getCluster())) {
return $this->generateNavigationItems($cluster::getClusteredComponents());
}

return [];
}
public function getSubNavigation(): array
{
if (filled($cluster = static::getCluster())) {
return $this->generateNavigationItems($cluster::getClusteredComponents());
}

return [];
}

Did you find this page helpful?