From 915f8e7700d3d474a91107d20763b1d2d98ff3ad Mon Sep 17 00:00:00 2001 From: prafull-opensignlabs Date: Tue, 24 Sep 2024 18:26:43 +0530 Subject: [PATCH] fix: pagination move on the top records in reports --- .../src/primitives/GetReportDisplay.js | 90 ++++++++++--------- 1 file changed, 46 insertions(+), 44 deletions(-) diff --git a/apps/OpenSign/src/primitives/GetReportDisplay.js b/apps/OpenSign/src/primitives/GetReportDisplay.js index 217378359..47ff102d3 100644 --- a/apps/OpenSign/src/primitives/GetReportDisplay.js +++ b/apps/OpenSign/src/primitives/GetReportDisplay.js @@ -1126,7 +1126,7 @@ const ReportTable = (props) => { )} -
+
{isCelebration && (
@@ -1169,8 +1169,8 @@ const ReportTable = (props) => {
0 ? "h-[317px]" : "h-full" - } w-full`} + isDashboard && props.List?.length > 0 ? "min-h-[317px]" : "h-full" + } overflow-auto w-full`} > @@ -1206,48 +1206,50 @@ const ReportTable = (props) => { - ) : ( @@ -1528,7 +1530,7 @@ const ReportTable = (props) => { )}
{item?.Email || "-"} {item?.Phone || "-"} - {props.actions?.length > 0 && - props.actions.map((act, index) => ( - +
+ {props.actions?.length > 0 && + props.actions.map((act, index) => ( + + ))} + {isDeleteModal[item.objectId] && ( + - - - ))} - {isDeleteModal[item.objectId] && ( - -
-
- {t("contact-delete-alert")} +
+
+ {t("contact-delete-alert")} +
+
+
+ + +
-
-
- - -
-
- - )} + + )} +
-
+
{props.actions?.length > 0 && props.actions.map((act, index) => props.ReportName === "Templates" ? (