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 #761 from egovernments/PFM-5973
Browse files Browse the repository at this point in the history
PFM-5973 Added conditions to open any dashboard in new tab
  • Loading branch information
anilsingha-eGov authored Apr 3, 2024
2 parents 8623f97 + b8c7ae3 commit 9344f2e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ const EmployeeModuleCard = ({
{links.map(({ count, label, link }, index) => (
<span className="link" key={index}>
{link && link?.includes("https") ? (
label.includes("Dashboard")?<a href={link} target="_blank">
{label}
</a> :
<a href={link} target="">
{label}
</a>
Expand Down

0 comments on commit 9344f2e

Please sign in to comment.