cal.com
cal.com copied to clipboard
[CAL-1080] Display On bookingpage bug
When adding multiple locations of the same type you can only set display on booking page on one of the values. Even tho it looks like it is toggled on all of them.
Thus
cal.com/packages/app-store/locations.ts:212
doesnt display the location as its set to private.
From SyncLinear.com | CAL-1080
Hi team! I've been learning new things from the codebase recently. Can I work on this issue as my first contribution?
sure @heyanurag go for it!
Thanks Peer!
I wanted to ask, why can't I see the Add a location
button in my local setup?
I checked the code and the button is currently behind a check validLocations.length > 0
. I tried loggin the validLocations
array but its empty.
Any help will be appreciated :)
Hey @heyanurag this appears to be a recent bug which happens when you delete the location from the select box. Not 100% sure whats causing it right now as im on mobile. I believe if you create a new event type you should see add a location button
Hi @sean-brydon even after creating a new event the issue still exists. I also created a new database but no change.
hey, we have a PR fixed for this, will go live today!

Hey, @sean-brydon, I think the issue is fixed and should be closed. Pls, look at the following loom. And also there is another issue in ui with adding the same type of locations the states are saved on the component, as can be observed in the given loom. Should I open another issue for it to be explained in detail?
Loom: https://www.loom.com/share/fa15cc24c3f14722b832ec9feced2a10
Hey, @sean-brydon, I think the issue is fixed and should be closed. Pls, look at the following loom. And also there is another issue in ui with adding the same type of locations the states are saved on the component, as can be observed in the given loom. Should I open another issue for it to be explained in detail?
Loom: https://www.loom.com/share/fa15cc24c3f14722b832ec9feced2a10
Nice find! Please raise another issue <3 I'll close this one