diff --git a/front-end/src/components/Tickets.tsx b/front-end/src/components/Tickets.tsx index d012439..ff7aca5 100644 --- a/front-end/src/components/Tickets.tsx +++ b/front-end/src/components/Tickets.tsx @@ -45,6 +45,10 @@ export default React.memo(() => { const tickets = store.purchasedTicketsByFestival[festival.festival_id] ?? [] const otherPurchases = store.nonTicketPurchasesByFestival[festival.festival_id] ?? [] + // HACK: Attendees under one account may have separate cabin names, which + // is assumed not to be true as this is currently written + const cabinName = store.accountInfo.state.result?.cabins.filter(c => c.festival_id === festival.festival_id)?.[0]?.cabin_name + return (

@@ -68,6 +72,11 @@ export default React.memo(() => { )} + {cabinName && +
+ Cabin: {cabinName} +
} + {store.purchaseTypes.state.result && otherPurchases.length > 0 &&
Other purchases: