Skip to content

Commit

Permalink
Merge pull request #709 from bcgov/dev-rook-MD-oipcvalidation
Browse files Browse the repository at this point in the history
Set default layer to OIPC if valid
  • Loading branch information
sumathi-thirumani authored Jan 5, 2024
2 parents 48f85cd + 392b6ab commit 9986336
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/src/components/FOI/Home/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ function Home() {
console.log(error);
}
);
}, []);

useEffect(() => {
fetchRedactionLayerMasterData(
foiministryrequestid,
(data) => {
Expand All @@ -112,7 +115,7 @@ function Home() {
},
(error) => console.log(error)
);
}, []);
}, [validoipcreviewlayer])

const openFOIPPAModal = (pageNos) => {
redliningRef?.current?.addFullPageRedaction(pageNos);
Expand Down

0 comments on commit 9986336

Please sign in to comment.