diff --git a/frontend/src/features/permits/pages/Application/ApplicationReview.tsx b/frontend/src/features/permits/pages/Application/ApplicationReview.tsx index b362075c1..1c7f78249 100644 --- a/frontend/src/features/permits/pages/Application/ApplicationReview.tsx +++ b/frontend/src/features/permits/pages/Application/ApplicationReview.tsx @@ -27,10 +27,8 @@ import { } from "../../../../routes/constants"; export const ApplicationReview = () => { - const { - applicationData, - setApplicationData: setApplicationContextData, - } = useContext(ApplicationContext); + const { applicationData, setApplicationData: setApplicationContextData } = + useContext(ApplicationContext); const companyId = getDefaultRequiredVal(0, applicationData?.companyId); @@ -171,6 +169,7 @@ export const ApplicationReview = () => { doingBusinessAs={doingBusinessAs} calculatedFee={fee} loas={applicationData?.permitData?.loas} + applicationRejectionHistory={applicationData?.rejectionHistory} /> diff --git a/frontend/src/features/permits/pages/Application/components/review/PermitReview.tsx b/frontend/src/features/permits/pages/Application/components/review/PermitReview.tsx index 3c7d72ea0..5b1c3934a 100644 --- a/frontend/src/features/permits/pages/Application/components/review/PermitReview.tsx +++ b/frontend/src/features/permits/pages/Application/components/review/PermitReview.tsx @@ -65,7 +65,8 @@ interface PermitReviewProps { export const PermitReview = (props: PermitReviewProps) => { const shouldShowRejectionHistory = - props.reviewContext === PERMIT_REVIEW_CONTEXTS.QUEUE && + (props.reviewContext === PERMIT_REVIEW_CONTEXTS.QUEUE || + props.reviewContext === PERMIT_REVIEW_CONTEXTS.APPLY) && props.applicationRejectionHistory && props.applicationRejectionHistory.length > 0;