Closed DJBarnes closed 1 year ago
I can't seem to replicate this issue. I created a top level entry with only a 'text' key and no nodes, and it rendered out just fine.
I then tried a nested one that was under a top level set of nodes. If the only key provided was 'text', it would raise an exception because the 'route' param was not included. (As it should). Including the 'route' key fixes as intended.
If instead, it is not meant to be a node and instead meant to be a sub menu, the 'nodes' key is required. If there was a 'nodes' key provided with an empty list, it rendered the 'text' value just fine.
So, if there is an issue, I don't know how to replicate it. Closing for now, can re-open if someone can provide a concrete example of this failing.
If making a section in the menu that does not define any nodes, but does contain a title, the title will not be rendered out. Either the documentation needs to be updated to be clear that nothing will render without a title, or this is a bug that needs to be fixed so that you can render out just a title.