Skip to content

Commit

Permalink
Merge pull request #1203 from bcgov/dev-AH-FOIMOD-3246
Browse files Browse the repository at this point in the history
Ticket 2646/3246 - Release 11.0 / Consults Observation Fixes 3
  • Loading branch information
Aman-Hundal authored Nov 1, 2024
2 parents 4258626 + 0abad7f commit e7c44f1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion web/src/components/FOI/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ li.modal-message-list-item {
}

.consult-modal {
min-height: 500px !important;
min-height: 600px !important;
}

.redline-checkmark {
Expand Down
10 changes: 6 additions & 4 deletions web/src/components/FOI/Home/ConfirmationModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -86,18 +86,20 @@ export const ConfirmationModal= ({
<Grid container spacing={0.5}>
{documentPublicBodies?.map((publicBody) => {
return (<>
<Grid item sm={1.5} md={1.5}>
<Grid item sm={1.5} md={1.5} style={{overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis"}}>
<input
key={publicBody.programareaid ? publicBody.programareaid : publicBody.name}
type="checkbox"
style={{ marginRight: 10 }}
style={{ marginRight: 10, fontSize: "small"}}
className="redline-checkmark"
id={`${publicBody.iaocode}-checkbox`}
value={publicBody.programareaid ? publicBody.programareaid : publicBody.name}
checked={publicBody.programareaid ? selectedPublicBodyIDs.includes(publicBody.programareaid) : selectedPublicBodyIDs.includes(publicBody.name)}
onClick={handleSelectedPublicBodies}
/>
<label for={`${publicBody.iaocode}-checkbox`}>{publicBody.iaocode}</label>
<Tooltip title={publicBody.iaocode} enterDelay={1000}>
<label style={{display: "inline", fontSize: "small" }} for={`${publicBody.iaocode}-checkbox`}>{publicBody.iaocode}</label>
</Tooltip>
</Grid>
</>)
})}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,6 @@ const stampPageNumberRedline = async (
doc
.getFileData({
// export the document to arraybuffer
// xfdfString: xfdfString,
downloadType: downloadType,
flatten: true,
})
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit e7c44f1

Please sign in to comment.