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