Skip to content

Commit

Permalink
Use active project so we can remove environment id
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Apr 26, 2024
1 parent 3979623 commit 3590204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin/rest/resource/GlobalMobileMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3590204

Please sign in to comment.