+
{!isLPA && (
)}
-
+
{/* {props.awaitingSubmission.awaitingSubmission[
"@odata.count"
] > 0 && (
@@ -143,7 +144,7 @@ const MyPortal = (props) => {
{!isLPA &&
_.has(props.awaitingSubmission, [
"awaitingSubmissionFromBlob",
- "@odata.count",
+ "@odata.count"
]) &&
props.awaitingSubmission
.awaitingSubmissionFromBlob[
diff --git a/components/myportal/advancedsearch.js b/components/myportal/advancedsearch.js
index 1525acbf..7e52a6ca 100644
--- a/components/myportal/advancedsearch.js
+++ b/components/myportal/advancedsearch.js
@@ -88,7 +88,7 @@ let AdvancedSearch = (props) => {
optionsObj,
meta: { touched, error },
label,
- errormsg,
+ errormsg
}) => {
return (
<>
@@ -143,7 +143,7 @@ let AdvancedSearch = (props) => {
.name +
'")].value_cy',
json: transLookup,
- eval: true,
+ eval: true
})
: optionsObj[key].name ||
t(
@@ -166,7 +166,7 @@ let AdvancedSearch = (props) => {
optionsObj,
meta: { touched, error },
label,
- errormsg,
+ errormsg
}) => {
return (
<>
@@ -213,47 +213,52 @@ let AdvancedSearch = (props) => {
_.isEmpty(optionsObj[key])
? ""
: _.isEmpty(
- optionsObj[key]
- )
- ? ""
- : _.isEmpty(
- optionsObj[key]
- .value
- )
- ? ""
- : optionsObj[key]
- .attributevalue +
- "," +
- optionsObj[key].value
- .replace(
- /(\band|[\s\-\+\(\)\,\&])/g,
- ""
+ optionsObj[key]
+ )
+ ? ""
+ : _.isEmpty(
+ optionsObj[key]
+ .value
)
- .toLowerCase()
+ ? ""
+ : optionsObj[key]
+ .attributevalue +
+ "," +
+ optionsObj[
+ key
+ ].value
+ .replace(
+ /(\band|[\s\-\+\(\)\,\&])/g,
+ ""
+ )
+ .toLowerCase()
}
>
{_.isEmpty(optionsObj[key])
? ""
: _.isEmpty(optionsObj[key])
- ? ""
- : _.isEmpty(
- optionsObj[key].value
- )
- ? ""
- : router.locale == "cy"
- ? jsonpath({
- path:
- '$..[?(@ && @.value=="' +
+ ? ""
+ : _.isEmpty(
optionsObj[key]
- .value +
- '")].value_cy',
- json: transLookup,
- eval: true,
- })
- : optionsObj[key].value ||
- t(
- "case:summary-no-date-entered-label"
- )}
+ .value
+ )
+ ? ""
+ : router.locale == "cy"
+ ? jsonpath({
+ path:
+ '$..[?(@ && @.value=="' +
+ optionsObj[
+ key
+ ].value +
+ '")].value_cy',
+ json: transLookup,
+ eval: true
+ })
+ : optionsObj[key]
+ .value ||
+ t(
+ "case:summary-no-date-entered-label"
+ )}
);
})}
@@ -325,7 +330,7 @@ let AdvancedSearch = (props) => {
t(
"myportal:searchcases-validation-minlength"
)
- ),
+ )
]}
className="govuk-input govuk-!-width-two-thirds"
component={RenderTextfield}
@@ -475,7 +480,7 @@ const mapStateToProps = (state) => {
myCases: state.myCases,
watchedCases: state.watchedCases,
myRepresentations: state.myRepresentations,
- awaitingSubmission: state.awaitingSubmission,
+ awaitingSubmission: state.awaitingSubmission
};
};
@@ -491,6 +496,6 @@ export default connect(
)(
reduxForm({
form: "advancedSearchForm",
- destroyOnUnmount: false,
+ destroyOnUnmount: false
})(AdvancedSearch)
);
diff --git a/components/myportal/makenewappeal.js b/components/myportal/makenewappeal.js
index a2ceedd7..70ceee0d 100644
--- a/components/myportal/makenewappeal.js
+++ b/components/myportal/makenewappeal.js
@@ -19,6 +19,9 @@ export default function MakeNewAppeal(props) {
{t("myportal:makenewappeal-card-title")}
+
+ {t("myportal:makenewappeal-card-paragraph-zero")}
+
{t("myportal:makenewappeal-card-paragraph-one")}{" "}
diff --git a/components/myportal/searchcases.js b/components/myportal/searchcases.js
index 38609674..8f71d36a 100644
--- a/components/myportal/searchcases.js
+++ b/components/myportal/searchcases.js
@@ -36,7 +36,7 @@ const RenderTextfield = ({
htmlFor={id}
id={id + "_label"}
>
- {hint1}
+
{hint1}