reps pdf upload directory restructure
This commit is contained in:
@@ -81,13 +81,8 @@ let RepLPA = (props) => {
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
{props.representationTypeValue}
|
||||
{props.procedureTypeValue}
|
||||
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-form-group">
|
||||
{console.log(props)}
|
||||
typeof props.representationTypeValue == "undefined"
|
||||
{props.representationTypeValue != "Questionnaire" ? (
|
||||
<>
|
||||
<p className="govuk-body">
|
||||
@@ -924,24 +919,25 @@ let RepLPA = (props) => {
|
||||
const selector = formValueSelector("representationForm"); // <-- same as form name
|
||||
|
||||
RepLPA = connect((state) => {
|
||||
const representationTypeValue = selector(state, "representationType");
|
||||
const procedureTypeValue = selector(state, "procedureType");
|
||||
const representationType = selector(state, "representationType");
|
||||
const procedureType = selector(state, "procedureType");
|
||||
|
||||
return {
|
||||
procedureTypeValue,
|
||||
representationTypeValue,
|
||||
procedureType,
|
||||
representationType,
|
||||
};
|
||||
})(RepLPA);
|
||||
|
||||
const mapStateToProps = (state, props) => {
|
||||
console.log();
|
||||
return {
|
||||
initialValues: {
|
||||
onBehalfOfLPA:
|
||||
props.props.props.accountDetails.accountDetails[
|
||||
"pinswg_contact_associatedlpa@OData.Community.Display.V1.FormattedValue"
|
||||
],
|
||||
},
|
||||
search: state.search,
|
||||
searchResultsObj: state.searchResultsObj,
|
||||
formData: state.formData,
|
||||
appealType: state.appealType,
|
||||
currentView: state.currentView,
|
||||
myRepresentations: state.myRepresentations,
|
||||
initialValues: state.currentView.caseReference.repDetails,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user