mycase links failed... so fixed
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user