From ff59c3c24cb2796f6c3b329d842059762b71bffb Mon Sep 17 00:00:00 2001 From: "sumathi.thirumani" Date: Wed, 29 Nov 2023 23:31:41 -0800 Subject: [PATCH] Cosmetic changes for dropdown. --- forms-flow-web/src/components/FOI/FOIRequest/FOIRequest.js | 3 +-- .../components/FOI/FOIRequest/FOIRequestHeader/index.js | 7 ++++++- .../FOI/FOIRequest/OIPCDetails/OIPCDetailsList.jsx | 1 - .../src/components/FOI/FOIRequest/OIPCDetails/oipcHook.js | 3 +-- .../src/components/FOI/customComponents/requestflag.scss | 4 +++- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/forms-flow-web/src/components/FOI/FOIRequest/FOIRequest.js b/forms-flow-web/src/components/FOI/FOIRequest/FOIRequest.js index 7532dd07f..64f95c009 100644 --- a/forms-flow-web/src/components/FOI/FOIRequest/FOIRequest.js +++ b/forms-flow-web/src/components/FOI/FOIRequest/FOIRequest.js @@ -352,8 +352,7 @@ const FOIRequest = React.memo(({ userDetail }) => { } }, [oipcData]) - console.log(requestDetails) - + useEffect(() => { if (isIAORestricted) dispatch(fetchRestrictedRequestCommentTagList(requestId, ministryId)); diff --git a/forms-flow-web/src/components/FOI/FOIRequest/FOIRequestHeader/index.js b/forms-flow-web/src/components/FOI/FOIRequest/FOIRequestHeader/index.js index 8b878d685..69c3ed18f 100644 --- a/forms-flow-web/src/components/FOI/FOIRequest/FOIRequestHeader/index.js +++ b/forms-flow-web/src/components/FOI/FOIRequest/FOIRequestHeader/index.js @@ -36,6 +36,9 @@ const useStyles = makeStyles((theme) => ({ fontWeight: theme.typography.fontWeightBold, opacity: 1, }, + blankrow: { + padding: 25 + } })); const FOIRequestHeader = React.memo( ({ @@ -282,10 +285,12 @@ const FOIRequestHeader = React.memo( isIAORestrictedFileManager={isIAORestrictedFileManager()} requestDetails={requestDetails} /> + }
-
+ { const {oipcData, removeOIPC, updateOIPC} = props; - console.log("COMPONENT", oipcData) const OIPCItems = oipcData?.map((oipcObj, index) => { return ( <> diff --git a/forms-flow-web/src/components/FOI/FOIRequest/OIPCDetails/oipcHook.js b/forms-flow-web/src/components/FOI/FOIRequest/OIPCDetails/oipcHook.js index 15a91f0cf..5cdf4b4a5 100644 --- a/forms-flow-web/src/components/FOI/FOIRequest/OIPCDetails/oipcHook.js +++ b/forms-flow-web/src/components/FOI/FOIRequest/OIPCDetails/oipcHook.js @@ -39,8 +39,7 @@ const useOIPCHook = () => { setOipcData(stagedOIPCData); }, [isOIPCReview]) - console.log("HOOK", oipcData) - + //OIPC Functions const addOIPC = () => { setOipcData((prev) => { diff --git a/forms-flow-web/src/components/FOI/customComponents/requestflag.scss b/forms-flow-web/src/components/FOI/customComponents/requestflag.scss index 4eb12f1e6..f9ac8c120 100644 --- a/forms-flow-web/src/components/FOI/customComponents/requestflag.scss +++ b/forms-flow-web/src/components/FOI/customComponents/requestflag.scss @@ -1,6 +1,7 @@ .request-flag { - margin-left: 15px; + margin-left: -50px; + padding-top: 50px; .request-flag-dropdown-all { padding-top: 10px; @@ -76,3 +77,4 @@ padding-top: 25px; } +