My app uses React-Admin version 2.9 and I'm trying to determine how to customize the app's main sidebar menu.
When I add Resource items to the app's Admin component, they appear in the sidebar, but in a seemingly partially random order. Some are in the same order as they are in my Admin component, others are not. Is there some way to specify the ordering of these items?
It's also a bit mysterious to me how to specify which Resource items even appear on that main sidebar menu. I eventually figured out that resources only appear on the sidebar if I give them an options.label attribute. Is that the intended mechanism for specifying that a Resource should appear in the sidebar? Or is there some other, perhaps more intuitive, way to mark a Resource as one to appear in the sidebar? The documentation simply states "options.label allows to customize the display name of a given resource in the menu."