diff --git a/apps/OpenSign/src/primitives/GetReportDisplay.js b/apps/OpenSign/src/primitives/GetReportDisplay.js index f1af679db..be73b2e3c 100644 --- a/apps/OpenSign/src/primitives/GetReportDisplay.js +++ b/apps/OpenSign/src/primitives/GetReportDisplay.js @@ -1229,14 +1229,12 @@ const ReportTable = (props) => { className={`${ isDashboard && props.List?.length > 0 ? "min-h-[317px]" - : `${ - currentList?.length === props.docPerPage - ? "h-fit" - : "h-screen" - }` + : currentList?.length === props.docPerPage + ? "h-fit" + : "h-screen" } overflow-auto w-full border-b`} > -
{startIndex + index + 1}
@@ -1596,9 +1601,7 @@ const ReportTable = (props) => {
className={
act.action !== "option"
? `${
- act?.btnColor
- ? act.btnColor
- : ""
+ act?.btnColor || ""
} op-btn op-btn-sm mr-1`
: "text-base-content focus:outline-none text-lg mr-2 relative"
}
@@ -1618,7 +1621,7 @@ const ReportTable = (props) => {
{/* template report */}
{isOption[item.objectId] &&
act.action === "option" && (
-
|
|---|