From 3e9e1d835a4b7dfc37efdbf7408b601a3523db25 Mon Sep 17 00:00:00 2001 From: Starstrike Date: Thu, 1 May 2025 14:58:18 -0400 Subject: [PATCH] feat: Show 'None' for empty event descriptions in view and admin pages --- frontend/src/components/EventAdmin.tsx | 2 +- frontend/src/components/EventView.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/EventAdmin.tsx b/frontend/src/components/EventAdmin.tsx index 48b1a38..495f38f 100644 --- a/frontend/src/components/EventAdmin.tsx +++ b/frontend/src/components/EventAdmin.tsx @@ -484,7 +484,7 @@ const EventAdmin: React.FC = () => { - Info: {event.description} + Info: {event.description || 'None'} Location: {event.location} diff --git a/frontend/src/components/EventView.tsx b/frontend/src/components/EventView.tsx index bdace12..17e0220 100644 --- a/frontend/src/components/EventView.tsx +++ b/frontend/src/components/EventView.tsx @@ -169,7 +169,7 @@ const EventView: React.FC = () => { - Info: {event.description} + Info: {event.description || 'None'} Location: {event.location}