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
This commit is contained in:
Esaú Morais
2023-02-21 09:25:57 +00:00
committed by GitHub
parent 6fc3840ca3
commit af970c049a
+1 -1
View File
@@ -511,7 +511,7 @@ export default function Success(props: SuccessProps) {
</div>
</>
)}
{locationToDisplay && (
{locationToDisplay && !isCancelled && (
<>
<div className="mt-3 font-medium">{t("where")}</div>
<div className="col-span-2 mt-3">