Display welcome message for current user

Add a welcome message displaying the user's first name.
This commit is contained in:
lora322 2025-09-23 20:32:53 -04:00 committed by GitHub
parent 40b7f2bc5d
commit 6e3f048d97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,6 +137,13 @@ const Dashboard = () => {
> >
{''} {''}
</SectionTitleLineWithButton> </SectionTitleLineWithButton>
{/* Welcome message under page title */}
{currentUser?.first_name && (
<p className="text-lg font-medium mt-2 mb-6">
Welcome to VRES, {currentUser.first_name}!
</p>
)}
{hasPermission(currentUser, 'CREATE_ROLES') && ( {hasPermission(currentUser, 'CREATE_ROLES') && (
<WidgetCreator <WidgetCreator