diff --git a/frontend/src/components/EventAdmin.tsx b/frontend/src/components/EventAdmin.tsx index 4bdda49..a7e14de 100644 --- a/frontend/src/components/EventAdmin.tsx +++ b/frontend/src/components/EventAdmin.tsx @@ -761,6 +761,24 @@ const EventAdmin: React.FC = () => { )} + {/* Other Items Section */} + + + Other Items: + + + {(() => { + const allOtherItems = rsvps + .map(r => r.other_items) + .filter(Boolean) + .flat() + .filter((item: string) => item && item.trim() !== ''); + return allOtherItems.length > 0 + ? allOtherItems.join(', ') + : 'No other items have been brought'; + })()} + + diff --git a/frontend/src/components/EventView.tsx b/frontend/src/components/EventView.tsx index add4ce0..204b714 100644 --- a/frontend/src/components/EventView.tsx +++ b/frontend/src/components/EventView.tsx @@ -239,6 +239,23 @@ const EventView: React.FC = () => { )} + + + Other Items: + + + {(() => { + const allOtherItems = rsvps + .map(r => r.other_items) + .filter(Boolean) + .flat() + .filter((item: string) => item && item.trim() !== ''); + return allOtherItems.length > 0 + ? allOtherItems.join(', ') + : 'No other items have been brought'; + })()} + +