From af970c049a4651c02583c7805d99bdf7081665aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esa=C3=BA=20Morais?= <55207584+esau-morais@users.noreply.github.com> Date: Tue, 21 Feb 2023 06:25:57 -0300 Subject: [PATCH] Do not show location when booking has been cancelled (#7244) * fix(schedule): close on click #7143 * fix(booking): do not show location when booking has been cancelled --- apps/web/pages/booking/[uid].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx index e4f945c0d9..798ac89bf9 100644 --- a/apps/web/pages/booking/[uid].tsx +++ b/apps/web/pages/booking/[uid].tsx @@ -511,7 +511,7 @@ export default function Success(props: SuccessProps) { > )} - {locationToDisplay && ( + {locationToDisplay && !isCancelled && ( <>