rep defect 21
This commit is contained in:
@@ -339,9 +339,12 @@ export const RenderCondtionalRadioList = ({
|
|||||||
className="govuk-input govuk-!-width-one-half"
|
className="govuk-input govuk-!-width-one-half"
|
||||||
id={id + "_details"}
|
id={id + "_details"}
|
||||||
name={id + "_details"}
|
name={id + "_details"}
|
||||||
component="input"
|
component={RenderTextfield}
|
||||||
type="text"
|
type="text"
|
||||||
validate={[required]}
|
validate={[required]}
|
||||||
|
errorMsg={t(
|
||||||
|
"myrepresentations:is-required-label"
|
||||||
|
)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -77,13 +77,14 @@ export const getSearchDetails = async (searchResultsObj) => {
|
|||||||
let formMeta = getFormCollectionByID(
|
let formMeta = getFormCollectionByID(
|
||||||
searchDetail.pinswg_appealcasetype
|
searchDetail.pinswg_appealcasetype
|
||||||
);
|
);
|
||||||
console.log(
|
// console.log(
|
||||||
"------------------- Details: ",
|
// "------------------- Details: ",
|
||||||
formMeta.LogicalCollectionName,
|
// formMeta.LogicalCollectionName,
|
||||||
searchDetail.title,
|
// searchDetail.title,
|
||||||
formMeta.PrimaryIdAttribute,
|
// formMeta.PrimaryIdAttribute,
|
||||||
searchDetail.incidentid
|
// searchDetail.incidentid,
|
||||||
);
|
// searchDetail.pinswg_appealcasetype
|
||||||
|
// );
|
||||||
|
|
||||||
if (searchDetail.pinswg_appealcasetype == null) {
|
if (searchDetail.pinswg_appealcasetype == null) {
|
||||||
detailsArr.push(
|
detailsArr.push(
|
||||||
|
|||||||
@@ -114,6 +114,8 @@ const CaseHome = (props) => {
|
|||||||
}
|
}
|
||||||
showLoginCheck={true}
|
showLoginCheck={true}
|
||||||
messagesObj={props.messagesObj}
|
messagesObj={props.messagesObj}
|
||||||
|
showFilteredDocs={props.showFilteredDocs}
|
||||||
|
showMaps={props.showMaps}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Footer
|
<Footer
|
||||||
@@ -358,6 +360,8 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
|||||||
messagesObj: await getCaseMessage(
|
messagesObj: await getCaseMessage(
|
||||||
searchResultsObj.value[0].incidentid
|
searchResultsObj.value[0].incidentid
|
||||||
),
|
),
|
||||||
|
showFilteredDocs: process.env.SHOWFILTERDOCS || false,
|
||||||
|
showMaps: process.env.SHOWMAPS,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user