Skip to content

Commit

Permalink
Fix for 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed May 14, 2024
1 parent 67c2b5c commit 5903952
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 3.2.1 - 2024-05-14
### Fixed
- Fixed an issue where navigation items wouldn't show up in the CP anymore

## 3.2.0 - 2024-04-29
### Fixed
- Fixed styling issues in Craft 4.9+ ([#71](https://github.com/studioespresso/craft-navigate/pull/71), thanks [@brandonkelly](https://github.com/brandonkelly)!)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "studioespresso/craft-navigate",
"description": "Navigation plugin for Craft 3",
"type": "craft-plugin",
"version": "3.2.0",
"version": "3.2.1",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function actionEdit($navId = null)
Craft::$app->getView()->registerJs("new Craft.Navigate('" . $jsOptions . "');");

return $this->renderTemplate('navigate/_edit', [
'nodes' => Navigate::$plugin->nodes->getNodesByNavIdAndSiteById($navId, $site->id),
'nodes' => Navigate::$plugin->nodes->getNodesByNavIdAndSiteById($site->id, $navId),
'nodeTypes' => $nodeTypes,
'navigation' => $navigation,
'sites' => $this->getEditAbleSites($navigation),
Expand Down

0 comments on commit 5903952

Please sign in to comment.