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

Commit

Permalink
Merge pull request #778 from egovernments/ISTE-9
Browse files Browse the repository at this point in the history
Iste 9
  • Loading branch information
anilsingha-eGov authored Apr 24, 2024
2 parents 07540df + 75bb0ce commit 800fff9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,13 @@ const TopBar = ({
<p className="ulb" style={mobileView ? { fontSize: "14px", display: "inline-block" } : {}}>
{t(cityDetails?.i18nKey).toUpperCase()}{" "}
{t(`ULBGRADE_${cityDetails?.city?.ulbGrade.toUpperCase().replace(" ", "_").replace(".", "_")}`).toUpperCase()}
{` ${userDetails?.info?.roles.some(obj => obj.name === "STATE ADMIN")?` (${userDetails?.info?.name} | State User)`:` (${userDetails?.info?.name} | Division User)`}`}
</p>
) : (
<img className="state" src={logoUrl} />
<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>
</div>
))}
{!loggedin && (
<p className="ulb" style={mobileView ? { fontSize: "14px", display: "inline-block" } : {}}>
Expand Down

0 comments on commit 800fff9

Please sign in to comment.