fix: Across Org Scenarios - Wrong links for event and team (#12358)

Co-authored-by: sean-brydon <[email protected]>
This commit is contained in:
Hariom Balharaandsean-brydon authored and GitHub committed 2023-12-19 19:33:30 +10:00
1 parent f1caaad536
commit e5e0fa97eb
35 files changed
+570 -154

No files matched your search

@@ -92,7 +92,9 @@ const Route = ({
}) => {
const index = routes.indexOf(route);
const { data: eventTypesByGroup } = trpc.viewer.eventTypes.getByViewer.useQuery();
const { data: eventTypesByGroup } = trpc.viewer.eventTypes.getByViewer.useQuery({
forRoutingForms: true,
});
const eventOptions: { label: string; value: string }[] = [];
eventTypesByGroup?.eventTypeGroups.forEach((group) => {