feat: preference to show/hide available seats count in events (#11109)

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Shubham SinghandPeer Richelsen authored and GitHub committed 2023-09-08 11:37:26 -04:00
1 parent 7e2ad3cea9
commit 9c3cbee363
26 files changed
+117 -12

No files matched your search

@@ -377,6 +377,14 @@ export const EventAdvancedTab = ({ eventType, team }: Pick<EventTypeSetupProps,
defaultChecked={!!eventType.seatsShowAttendees}
/>
</div>
<div className="mt-2">
<CheckboxField
description={t("show_available_seats_count")}
disabled={seatsLocked.disabled}
onChange={(e) => formMethods.setValue("seatsShowAvailabilityCount", e.target.checked)}
defaultChecked={!!eventType.seatsShowAvailabilityCount}
/>
</div>
</div>
)}
/>