Add ability to hide back button on event type booking page
What does this PR do?
Removes back button on event type booking page when all event types are hidden
Fixes #5056
Loom Video: https://www.loom.com/share/d4c20b1655d84b2a92a03bea770a3abc
Environment: Staging(main branch) / Production
Type of change
- [x] New feature (non-breaking change which adds functionality)
@gitstart is attempting to deploy a commit to the cal Team on Vercel.
A member of the Team first needs to authorize it.
- Added a new query to fetch event types
- Filtered out hidden events from the list of public ones
- Changed the condition for displaying GoBackToPreviousPage component so that it is only displayed when there are any public event types available (i.e., not all have been filtered out)
Hi @PeerRich! Please review the PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| cal | ✅ Ready (Inspect) | Visit Preview | Dec 1, 2022 at 0:45AM (UTC) |
Hey @zomars, please take a look at the PR 🙏
I think we're actually removing the back button for now, right @Jaibles ?
I think we're actually removing the back button for now, right @Jaibles ?
Do you want this PR to handle removing the back button or are we closing this one?
I think we're actually removing the back button for now, right @Jaibles ?
Do you want this PR to handle removing the back button or are we closing this one?
yeah i think we can do it here
sorry @sean-brydon, you tried! 🥲
@sean-brydon
