fix: [object object] problem (#24643)
* fix: object problem * revert and improve logic * revert * fix * Update apps/web/modules/bookings/views/bookings-single-view.tsx Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Co-authored-by: Pallav <[email protected]>
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -595,7 +595,7 @@ export default function Success(props: PageProps) {
|
||||
)}
|
||||
<div className="font-medium">{t("what")}</div>
|
||||
<div className="col-span-2 mb-6 break-words last:mb-0" data-testid="booking-title">
|
||||
{isRoundRobin ? bookingInfo.title : eventName}
|
||||
{isRoundRobin ? (typeof bookingInfo.title === 'string' ? bookingInfo.title : eventName) : eventName}
|
||||
</div>
|
||||
<div className="font-medium">{t("when")}</div>
|
||||
<div className="col-span-2 mb-6 last:mb-0">
|
||||
|
||||
Reference in new issue
Block a user