Hi ! I am struggling with conditional render navigation. I mean I need a subpage navigation with diffrent link. I’ve made in my admin panel two kind of navigation, but now I need render each one depend on route. In my Navigation component I use staticQuery hook, but I can not use any conditions. Does any one has Idea how can I cope with this ??
I want to avoid query for allNavigation and then filter in component the right resource. If it is possible.