Hello!
I want to list all my past and upcoming events, for this I use this:
for event in page.calendar.events
but that snipet displays drafted events too.
Is there a way to not display these drafted events?
Official response from Taylor Pineiro
I would set the events to be viewed by 'admin only' that way you will see them if you're logged in as an admin -- but you can check in an incognito window to see what the page looks like for someone not logged in.
Share this post
Showing 1 reaction
Sign in with