Skip to content

Commit

Permalink
Merge pull request #128 from wethmiranasinghe/main
Browse files Browse the repository at this point in the history
Header role updated
  • Loading branch information
wethmiranasinghe authored Oct 11, 2024
2 parents 131e383 + 2f7e84c commit e23253a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front-end/src/Pages/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function Profile() {
<h3><u><span style={{ color:'rgba(10, 48, 128)'}}>User Details</span></u></h3>
<h4><span style={{ color:'hsl(107, 69%, 18%)'}}>Email: <br></br>{loggedInUser.email}</span></h4>

<h4><span style={{ color:'hsl(107, 69%, 18%)'}}>User Role: <br></br>{loggedInUser.appUserRole}</span></h4>
<h4><span style={{ color:'hsl(107, 69%, 18%)'}}>User Role: <br></br>{loggedInUser.userRole}</span></h4>
</div>
</div>
</>
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function closeOnClickOutside(selector, toggleClass) {
)}

{/* Display user name */}
<h3>{loggedInUser.name} {loggedInUser.lastName}</h3>
<h3>{loggedInUser.firstName} {loggedInUser.lastName}</h3>
</div>


Expand Down

0 comments on commit e23253a

Please sign in to comment.