diff --git a/Classes/Service/DataSource/CommandsDataSource.php b/Classes/Service/DataSource/CommandsDataSource.php index 7235010..280687e 100644 --- a/Classes/Service/DataSource/CommandsDataSource.php +++ b/Classes/Service/DataSource/CommandsDataSource.php @@ -38,6 +38,9 @@ public function getData(NodeInterface $node = null, array $arguments = []): arra $sitesForMenu = array_reduce($this->menuHelper->buildSiteList($this->controllerContext), static function (array $carry, array $site) { + if (!$site['uri']) { + return $carry; + } $carry[$site['nodeName']] = new CommandDto( $site['name'], $site['name'],