From 0abad7f68e1cc17383ea527a32b203cc0b8f1d63 Mon Sep 17 00:00:00 2001 From: Aman-Hundal Date: Fri, 1 Nov 2024 15:27:31 -0700 Subject: [PATCH] observation 14, and 15 fixes --- web/src/components/FOI/App.scss | 2 +- web/src/components/FOI/Home/ConfirmationModal.js | 10 ++++++---- .../Home/CreateResponsePDF/useSaveRedlineForSignOff.js | 3 +-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/web/src/components/FOI/App.scss b/web/src/components/FOI/App.scss index 5b04b2743..4c00c7c64 100644 --- a/web/src/components/FOI/App.scss +++ b/web/src/components/FOI/App.scss @@ -229,7 +229,7 @@ li.modal-message-list-item { } .consult-modal { - min-height: 500px !important; + min-height: 600px !important; } .redline-checkmark { diff --git a/web/src/components/FOI/Home/ConfirmationModal.js b/web/src/components/FOI/Home/ConfirmationModal.js index b9bc3d544..b4f1dc370 100644 --- a/web/src/components/FOI/Home/ConfirmationModal.js +++ b/web/src/components/FOI/Home/ConfirmationModal.js @@ -10,9 +10,9 @@ import DialogTitle from "@mui/material/DialogTitle"; import CloseIcon from "@mui/icons-material/Close"; import IconButton from "@mui/material/IconButton"; import Grid from '@mui/material/Grid'; +import { Tooltip } from '@mui/material'; //import type { ReactModalProps } from './types'; - export const ConfirmationModal= ({ cancelRedaction, redlineModalOpen, @@ -86,18 +86,20 @@ export const ConfirmationModal= ({ {documentPublicBodies?.map((publicBody) => { return (<> - + - + + + ) })} diff --git a/web/src/components/FOI/Home/CreateResponsePDF/useSaveRedlineForSignOff.js b/web/src/components/FOI/Home/CreateResponsePDF/useSaveRedlineForSignOff.js index 044cce7f6..7116eb59e 100644 --- a/web/src/components/FOI/Home/CreateResponsePDF/useSaveRedlineForSignOff.js +++ b/web/src/components/FOI/Home/CreateResponsePDF/useSaveRedlineForSignOff.js @@ -1956,7 +1956,6 @@ const stampPageNumberRedline = async ( doc .getFileData({ // export the document to arraybuffer - // xfdfString: xfdfString, downloadType: downloadType, flatten: true, }) @@ -1997,7 +1996,7 @@ const stampPageNumberRedline = async ( // saves the document with annotations in it xfdfString: xfdfString1, downloadType: downloadType, - flatten: true, + // flatten: true, }) .then(async (__data) => { const __arr = new Uint8Array(__data);