From 2f7e84c0dfcbf5ab09de3fef17017bf2e7e3c14f Mon Sep 17 00:00:00 2001 From: Wethmi Ranasinghe Date: Fri, 11 Oct 2024 14:28:06 +0530 Subject: [PATCH] Header role updated --- front-end/src/Pages/Profile.jsx | 2 +- front-end/src/components/Header.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/front-end/src/Pages/Profile.jsx b/front-end/src/Pages/Profile.jsx index c3810ed..bb4aef7 100644 --- a/front-end/src/Pages/Profile.jsx +++ b/front-end/src/Pages/Profile.jsx @@ -43,7 +43,7 @@ function Profile() {

User Details

Email:

{loggedInUser.email}

-

User Role:

{loggedInUser.appUserRole}

+

User Role:

{loggedInUser.userRole}

diff --git a/front-end/src/components/Header.jsx b/front-end/src/components/Header.jsx index 5e2e5de..94ab3de 100644 --- a/front-end/src/components/Header.jsx +++ b/front-end/src/components/Header.jsx @@ -297,7 +297,7 @@ function closeOnClickOutside(selector, toggleClass) { )} {/* Display user name */} -

{loggedInUser.name} {loggedInUser.lastName}

+

{loggedInUser.firstName} {loggedInUser.lastName}