From 8508a99f23206ed410722aca8ff9465418fd7398 Mon Sep 17 00:00:00 2001
From: chinmoy-eGov <115543497+chinmoy-eGov@users.noreply.github.com>
Date: Wed, 3 Apr 2024 17:27:02 +0530
Subject: [PATCH 1/2] PFM-5973 Added condtion to open any dashboard in new tab
---
.../modules/hrms/src/components/EmployeeModuleCard.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/EmployeeModuleCard.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/EmployeeModuleCard.js
index 4e02d0591..d15c46784 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/EmployeeModuleCard.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/EmployeeModuleCard.js
@@ -18,6 +18,8 @@ const EmployeeModuleCard = ({
);
+ console.log(links,'links')
+
return (
@@ -48,6 +50,9 @@ const EmployeeModuleCard = ({
{links.map(({ count, label, link }, index) => (
{link && link?.includes("https") ? (
+ label.includes("Dashboard")?
+ {label}
+ :
{label}
From b8c7ae3fa25bd1cb79ff02a923d9212700c5f310 Mon Sep 17 00:00:00 2001
From: chinmoy-eGov <115543497+chinmoy-eGov@users.noreply.github.com>
Date: Wed, 3 Apr 2024 17:29:53 +0530
Subject: [PATCH 2/2] PFM-5973 Added condtion to open any dashboard in new tab
---
.../packages/modules/hrms/src/components/EmployeeModuleCard.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/EmployeeModuleCard.js b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/EmployeeModuleCard.js
index d15c46784..d46766fb7 100644
--- a/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/EmployeeModuleCard.js
+++ b/frontend/micro-ui/web/micro-ui-internals/packages/modules/hrms/src/components/EmployeeModuleCard.js
@@ -18,8 +18,6 @@ const EmployeeModuleCard = ({
);
- console.log(links,'links')
-
return (