Commit 9d5d355 1 parent 553f437 commit 9d5d355 Copy full SHA for 9d5d355
File tree 2 files changed +5
-5
lines changed
frontend/src/features/permits/pages/Application
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,8 @@ import {
27
27
} from "../../../../routes/constants" ;
28
28
29
29
export const ApplicationReview = ( ) => {
30
- const {
31
- applicationData,
32
- setApplicationData : setApplicationContextData ,
33
- } = useContext ( ApplicationContext ) ;
30
+ const { applicationData, setApplicationData : setApplicationContextData } =
31
+ useContext ( ApplicationContext ) ;
34
32
35
33
const companyId = getDefaultRequiredVal ( 0 , applicationData ?. companyId ) ;
36
34
@@ -171,6 +169,7 @@ export const ApplicationReview = () => {
171
169
doingBusinessAs = { doingBusinessAs }
172
170
calculatedFee = { fee }
173
171
loas = { applicationData ?. permitData ?. loas }
172
+ applicationRejectionHistory = { applicationData ?. rejectionHistory }
174
173
/>
175
174
</ FormProvider >
176
175
</ div >
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ interface PermitReviewProps {
65
65
66
66
export const PermitReview = ( props : PermitReviewProps ) => {
67
67
const shouldShowRejectionHistory =
68
- props . reviewContext === PERMIT_REVIEW_CONTEXTS . QUEUE &&
68
+ ( props . reviewContext === PERMIT_REVIEW_CONTEXTS . QUEUE ||
69
+ props . reviewContext === PERMIT_REVIEW_CONTEXTS . APPLY ) &&
69
70
props . applicationRejectionHistory &&
70
71
props . applicationRejectionHistory . length > 0 ;
71
72
You can’t perform that action at this time.
0 commit comments