Skip to content

Commit

Permalink
fix cancellation reason not shown (calcom#5084)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarinaWolli authored and haffla committed Nov 22, 2022
1 parent 00ba296 commit 5492f31
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/web/components/booking/CancelBooking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ type Props = {
booking: {
title?: string;
uid?: string;
id?: number;
};
profile: {
name: string | null;
Expand Down Expand Up @@ -64,7 +63,7 @@ export default function CancelBooking(props: Props) {
<Button
color="secondary"
className="border-0 sm:border"
onClick={() => router.push(`/reschedule/${booking?.uid}`)}>
onClick={() => router.push("/reschedule/" + booking?.uid)}>
{t("reschedule_this")}
</Button>
</div>
Expand All @@ -80,7 +79,7 @@ export default function CancelBooking(props: Props) {
setLoading(true);

const payload = {
id: booking?.id,
uid: booking?.uid,
cancellationReason: cancellationReason,
};

Expand Down

0 comments on commit 5492f31

Please sign in to comment.