Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
ISTE-9 changes in top bar for type of user ( #780 )
Browse files Browse the repository at this point in the history
ISTE-9 changes in top bar for type of user
  • Loading branch information
anilsingha-eGov authored Apr 26, 2024
2 parents 7421dad + 2faae33 commit 2b9459f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const TopBar = ({
) : (
<div style={{display:"flex"}}>
<img className="state" src={logoUrl} />
<p style={{marginLeft:"5px", fontWeight: "bold"}}>{` ${userDetails?.info?.roles.some(obj => obj.name === "STATE ADMIN")?`(${userDetails?.info?.name} | State User)`:`(${userDetails?.info?.name} | Division User)`}`} </p>
<p style={{margin:"0px 5px", fontWeight: "bold"}}>{` ${userDetails?.info?.roles.some(obj => obj.name === "STATE ADMIN")?`(${userDetails?.info?.name} | State User)`:`(${userDetails?.info?.name} | Division User)`}`} </p>
</div>
))}
{!loggedin && (
Expand Down

0 comments on commit 2b9459f

Please sign in to comment.