PayLoad website & Getting categories data #5564
-
Is the payload site experiencing issues, or am I unable to access it? I've been attempting to access the documentation to learn how to retrieve category data. The issue is that when I try to obtain the categories data, it returns null. There don't appear to be any issues with the interface. If anyone knows a solution to this problem, please help. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm not aware of any issues. You have categories saved that you can see in the admin UI? It isn't clear to me from the code you shared how your frontend is fetching the categories. You can look at the network tab in the admin UI and how they are being retrieved from the list view for the collection. |
Beta Was this translation helpful? Give feedback.
I'm not aware of any issues. You have categories saved that you can see in the admin UI?
It isn't clear to me from the code you shared how your frontend is fetching the categories. You can look at the network tab in the admin UI and how they are being retrieved from the list view for the collection.