Skip to content

Commit d3d45be

Browse files
committed
Merge branch 'release/20240514205919'
2 parents 67c2b5c + 5903952 commit d3d45be

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

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

7+
## 3.2.1 - 2024-05-14
8+
### Fixed
9+
- Fixed an issue where navigation items wouldn't show up in the CP anymore
10+
711
## 3.2.0 - 2024-04-29
812
### Fixed
913
- Fixed styling issues in Craft 4.9+ ([#71](https://github.com/studioespresso/craft-navigate/pull/71), thanks [@brandonkelly](https://github.com/brandonkelly)!)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "studioespresso/craft-navigate",
33
"description": "Navigation plugin for Craft 3",
44
"type": "craft-plugin",
5-
"version": "3.2.0",
5+
"version": "3.2.1",
66
"keywords": [
77
"craft",
88
"cms",

src/controllers/DefaultController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function actionEdit($navId = null)
105105
Craft::$app->getView()->registerJs("new Craft.Navigate('" . $jsOptions . "');");
106106

107107
return $this->renderTemplate('navigate/_edit', [
108-
'nodes' => Navigate::$plugin->nodes->getNodesByNavIdAndSiteById($navId, $site->id),
108+
'nodes' => Navigate::$plugin->nodes->getNodesByNavIdAndSiteById($site->id, $navId),
109109
'nodeTypes' => $nodeTypes,
110110
'navigation' => $navigation,
111111
'sites' => $this->getEditAbleSites($navigation),

0 commit comments

Comments
 (0)