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
Mahmoud97994mo 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 [];
}