Skip to content

Commit e4803fd

Browse files
Merge pull request #57 from sachbearbeiter/main
Fix #56
2 parents c8815cc + 4130b97 commit e4803fd

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Note that this Composer package name (belugadigital/kirby-navigation) differs fr
1616
| Kirby version | Compatible plugin version |
1717
|:--------------|:--------------------------|
1818
| ^5.0 | ^5.0 |
19+
| ^4.8 | ^4.2 |
1920
| ^4.0 | ^4.0 |
2021
| ^3.7 | ^3.0 |
2122
| ^3.6 | ^2.0 |
@@ -161,6 +162,10 @@ If you want to add an anchor value to your 'Kirby page' links, for example to ha
161162

162163
If you use the recommended way to output the navigation markup from your template (such as $site->navigation()->toNavigationMarkup() in case of a field called 'navigation'), then any target, class and anchor values will be included automatically in the generated markup.
163164

165+
## What's new in version 5.0?
166+
167+
Works with Kirby 5.0
168+
164169
## Contributing
165170

166171
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"menu",
99
"field"
1010
],
11-
"version": "5.0.0",
11+
"version": "5.0.1",
1212
"license": "MIT",
1313
"homepage": "https://github.com/chrisbeluga/kirby-navigation",
1414
"authors": [

config/props.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
// Add a 'save' item. When the 'props' values are sent to Panel,
3232
// the Field.vue will hide this item, but it will send it back,
3333
// and then the props.php will detect it, and save.php will ignore it.
34-
$items[]=['type' => 'save', 'uuid' => uniqid(), 'children' => []];
34+
// Use a constant uuid value for this item, to avoid diff problems
35+
$items[]=['type' => 'save', 'uuid' => 'save', 'children' => []];
3536
}
3637
return $items;
3738
},

0 commit comments

Comments
 (0)