Display welcome message for current user
Add a welcome message displaying the user's first name.
This commit is contained in:
parent
40b7f2bc5d
commit
6e3f048d97
@ -137,6 +137,13 @@ const Dashboard = () => {
|
||||
>
|
||||
{''}
|
||||
</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') && (
|
||||
<WidgetCreator
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user