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

Commit

Permalink
ISTE-8 Modified Tag for Division user ( #783 )
Browse files Browse the repository at this point in the history
ISTE-8 Modified Tag for Division user
  • Loading branch information
anilsingha-eGov authored Apr 29, 2024
2 parents 2b54487 + 40b048f commit 51f872c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -604,10 +604,12 @@ function Jurisdiction({
showSelectAll={true}
t={t}
/>
<div className="tag-container">
<div className="tag-container" style={{ height: jurisdiction?.divisionBoundary?.length > 0 && "50px", overflowY: "scroll" }}>
{jurisdiction?.roles.length > 0 &&
jurisdiction?.roles.map((value, index) => {
return <RemoveableTag key={index} text={`${t(value["labelKey"]).slice(0, 22)} ...`} onClick={() => onRemove(index, value)} />;
return (
<RemoveableTag key={index} text={`${t(value["i18text"]).slice(0, 22)} ...`} onClick={() => onRemove(index, value)} />
)
})}
</div>
</div>
Expand Down

0 comments on commit 51f872c

Please sign in to comment.