Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: isTeamEvent would eval to null when undefined #14480

Merged
merged 1 commit into from Apr 9, 2024

Conversation

emrysal
Copy link
Contributor

@emrysal emrysal commented Apr 9, 2024

What does this PR do?

getPublicEvent would be called twice for each user-type-public booking view, this was due to "undefined" evaluating to 'null' in the URL formatting call of tRPC. By defaulting to boolean we ensure that the same tRPC call is made (therefore tRPC realises it is the same call, and merges).

@graphite-app graphite-app bot requested a review from a team April 9, 2024 18:43
@dosubot dosubot bot added core area: core, team members only event-types area: event types, event-types 🐛 bug Something isn't working labels Apr 9, 2024
Copy link
Contributor

github-actions bot commented Apr 9, 2024

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

@emrysal emrysal added this to the v4.0 milestone Apr 9, 2024
Copy link

graphite-app bot commented Apr 9, 2024

Graphite Automations

"Add foundation team as reviewer" took an action on this PR • (04/09/24)

1 reviewer was added to this PR based on Keith Williams's automation.

@keithwillcode keithwillcode enabled auto-merge (squash) April 9, 2024 18:46
Copy link

vercel bot commented Apr 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 9, 2024 6:50pm
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Apr 9, 2024 6:50pm
calcom-web-canary ⬜️ Ignored (Inspect) Apr 9, 2024 6:50pm

Copy link
Contributor

github-actions bot commented Apr 9, 2024

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

deploysentinel bot commented Apr 9, 2024

No failed tests 🎉

@keithwillcode keithwillcode merged commit c090f78 into main Apr 9, 2024
40 checks passed
@keithwillcode keithwillcode deleted the bugfix/prevent-duplicate-event,event-call branch April 9, 2024 21:01
@hariombalhara hariombalhara mentioned this pull request Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working core area: core, team members only event-types area: event types, event-types foundation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants