hotfix prefill undefined bug booking page (#2166)
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>pull/2167/head
parent
c8505cd71c
commit
e21813ba96
2
apps/api
2
apps/api
|
@ -1 +1 @@
|
||||||
Subproject commit 378cbf8f3a67ea7877296f1da02edb2b6e3efbce
|
Subproject commit 63e0ca33e95583a5e2aae69195af052fd0d9aef8
|
|
@ -142,7 +142,7 @@ const BookingPage = ({ eventType, booking, profile }: BookingPageProps) => {
|
||||||
[LocationType.Huddle01]: "Huddle01 Video",
|
[LocationType.Huddle01]: "Huddle01 Video",
|
||||||
[LocationType.Tandem]: "Tandem Video",
|
[LocationType.Tandem]: "Tandem Video",
|
||||||
};
|
};
|
||||||
const loggedInIsOwner = eventType.users[0].name === session?.user.name;
|
const loggedInIsOwner = eventType?.users[0]?.name === session?.user?.name;
|
||||||
const defaultValues = () => {
|
const defaultValues = () => {
|
||||||
if (!rescheduleUid) {
|
if (!rescheduleUid) {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7f0e321c333c63158af536a814dd4f4cb477c89a
|
Subproject commit c6c9c210a4041fedaeaf22bf34b788f83e523ef3
|
Loading…
Reference in New Issue