proto/trying-alternative-approach
KATT 2021-11-19 12:44:57 +01:00
parent 346fd1c5ad
commit 2b4eb6c977
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ const AvailableTimes: FC<AvailableTimesProps> = ({
query: {
type: eventTypeId,
date: slot.time.format(),
// conditionally add things to query params
...(rescheduleUid ? { rescheduleUid } : {}),
...(schedulingType === SchedulingType.ROUND_ROBIN ? { user: slot.users } : {}),