diff --git a/src/Plugin/rest/resource/GlobalMobileMenu.php b/src/Plugin/rest/resource/GlobalMobileMenu.php index f20f32c..7760a68 100644 --- a/src/Plugin/rest/resource/GlobalMobileMenu.php +++ b/src/Plugin/rest/resource/GlobalMobileMenu.php @@ -107,8 +107,8 @@ public function get(): ResourceResponse { } $projectName = $this->environmentResolver - ->getActiveEnvironment() - ->getId(); + ->getActiveProject() + ->getName(); $site_name = $this->configFactory->get('system.site')->get('name'); // Create menu tree and add data to the local menu.