plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
448 stars 611 forks source link

Navigation Depth setting from Plone is not applied #1824

Open jackahl opened 4 years ago

jackahl commented 4 years ago

you can set the navigation depth in /controlpanel/navigation , but it is never used because volto will pull the navdepth from: https://github.com/plone/volto/blob/12dc99881c2520a22cab12ee81a8b006b4f08372/src/config/index.js#L72

jackahl commented 4 years ago

@tiberiuichim does this have something to do with the addon configuration you implemented?

tiberiuichim commented 4 years ago

@jackahl no, it was always hardcoded to 1, see https://github.com/plone/volto/pull/1546/files#diff-4c45c25c02c22e2b92b2d6d7fc2fab69L70

jackahl commented 4 years ago

@tiberiuichim ok, than this is something to fix in the future. Weird no one noticed earlier...