From 6e3f048d97862b11242acdeef93edfe148a65464 Mon Sep 17 00:00:00 2001 From: lora322 <39804183+lora322@users.noreply.github.com> Date: Tue, 23 Sep 2025 20:32:53 -0400 Subject: [PATCH] Display welcome message for current user Add a welcome message displaying the user's first name. --- frontend/src/pages/dashboard.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/pages/dashboard.tsx b/frontend/src/pages/dashboard.tsx index 11915f0..b1abefa 100644 --- a/frontend/src/pages/dashboard.tsx +++ b/frontend/src/pages/dashboard.tsx @@ -137,6 +137,13 @@ const Dashboard = () => { > {''} + {/* Welcome message under page title */} + {currentUser?.first_name && ( +
+ Welcome to VRES, {currentUser.first_name}! +
+)} + {hasPermission(currentUser, 'CREATE_ROLES') && (