Merged PR 2504: amend paths for reps to exclude long titles

amend paths for reps to exclude long titles

Related work items: #24279
This commit is contained in:
Robert Bond
2026-07-22 15:51:27 +00:00
parent 02507f298c
commit 1258985882
7 changed files with 13 additions and 6 deletions
+4 -2
View File
@@ -571,7 +571,7 @@ let MakeRepresentation = (props) => {
loggedinUserEmail
} = props.props;
const incidentID = props.appealType.caseReference.incidentid;
const currentRef = caseReferenceObj.currentReference;
const currentRef = caseReferenceObj.ticketnumber;
const containerID = accountDetails.containerID;
setSavingStatus(useSaveStatus);
@@ -1004,7 +1004,9 @@ let MakeRepresentation = (props) => {
<RepresentationFlowFormStage
t={t}
appealIsConsultation={appealIsConsultation}
currentReference={
currentReference={ticketnumber}
caseTitle={
currentView.currentReference ||
currentView.caseReference.currentReference
}
whichControl={whichControl}
@@ -4,6 +4,7 @@ const RepresentationFlowFormStage = ({
t,
appealIsConsultation,
currentReference,
caseTitle,
whichControl,
appealIsLocalImpact,
renderDueDate,
@@ -22,7 +23,7 @@ const RepresentationFlowFormStage = ({
: t(
"myrepresentations:make-a-representation-on-label"
)}{" "}
{currentReference}{" "}
{caseTitle}{" "}
</h1>
<div id="rep-form">
@@ -58,7 +58,7 @@ export const buildSubmitEnrichedValues = ({
incidentID:
caseReferenceObj.incidentid ||
caseReferenceObj.repDetails.incidentid,
caseRef: caseReferenceObj.currentReference,
caseRef: caseReferenceObj.ticketnumber,
casereference: caseReferenceObj.currentReference,
pinswg_questionnaireduedate: detailsObj.pinswg_questionnaireduedate,
pinswg_endofrepresentationperiod: