Hello guys! I am using the strapi-plugin-navigation and it’s working as expected except from the type=tree. It doesn’t matter if I’m using tree or flat, the response is always flat.
Any ideas?
I have created the following structure
wrapperElem1
wrapperElem1.1
externalSource1.1.1
externalSource1.1.2
wrapperElem1.2
externalSource1.2.1
externalSource1.2.2
wrapperElem2
wrapperElem2.1
externalSource2.1.1
externalSource2.1.2
wrapperElem2.2
externalSource2.2.1
externalSource2.2.2
please open in issue for the plugin maintainer on github
It was a weird one, it worked after setting the plugin again.
Here is the issue in the repo:
opened 10:09AM - 25 Apr 23 UTC
closed 06:15AM - 26 Apr 23 UTC
invalid
wontfix
Hello and thank you for this awesome plugin!
I have constructed a menu of the… following structure using you plugin:
- wrapperElem1
- wrapperElem1.1
- externalSource1.1.1
- externalSource1.1.2
- wrapperElem1.2
- externalSource1.2.1
- externalSource1.2.2
- wrapperElem2
- wrapperElem2.1
- externalSource2.1.1
- externalSource2.1.2
- wrapperElem2.2
- externalSource2.2.1
- externalSource2.2.2
I am using http://localhost:1337/api/navigation/render/1?type=tree to get the data but the response is the same regardless if I use flat/tree. Did I miss something from the doc?