mycase links failed... so fixed

This commit is contained in:
2024-11-07 07:53:48 +00:00
parent c1180354e0
commit c869fdc6c4
7 changed files with 70 additions and 55 deletions
+2 -2
View File
@@ -668,10 +668,10 @@ const Breadcrumbs = (props) => {
href={
router.locale != "en"
? router.locale +
"/searchresults?q=" +
"/fymhorth/searchresults?q=" +
props.props.search
.searchString
: "/searchresults?q=" +
: "/myportal/searchresults?q=" +
props.props.search
.searchString
}
@@ -34,11 +34,13 @@ const RepAgent = (props) => {
setRepFileName(formObj.representationForm.values);
let filterFilesList =
props.currentView.caseReference.repDetails.filesList.filter(function (
el
) {
return el != null;
});
props.currentView.caseReference.repDetails.hasOwnProperty("filesList")
? props.currentView.caseReference.repDetails.filesList.filter(
function (el) {
return el != null;
}
)
: [];
const files = acceptedFiles.map((file) => (
<li key={file.path}>
@@ -180,6 +182,9 @@ const RepAgent = (props) => {
{props.currentView.caseReference.hasOwnProperty(
"repDetails"
) &&
props.currentView.caseReference.repDetails.hasOwnProperty(
"filesList"
) &&
props.currentView.caseReference.repDetails
.filesList.length > 0 ? (
<div className="govuk-form-group govuk-!-margin-bottom-9">
@@ -38,11 +38,13 @@ const RepAppellant = (props) => {
setRepFileName(formObj.representationForm.values);
let filterFilesList =
props.currentView.caseReference.repDetails.filesList.filter(function (
el
) {
return el != null;
});
props.currentView.caseReference.repDetails.hasOwnProperty("filesList")
? props.currentView.caseReference.repDetails.filesList.filter(
function (el) {
return el != null;
}
)
: [];
return (
<>
@@ -159,6 +161,9 @@ const RepAppellant = (props) => {
{props.currentView.caseReference.hasOwnProperty(
"repDetails"
) &&
props.currentView.caseReference.repDetails.hasOwnProperty(
"filesList"
) &&
props.currentView.caseReference.repDetails.filesList
.length > 0 ? (
<div className="govuk-form-group govuk-!-margin-bottom-9">