Merged PR 1145: removed pinswg_name from appeal json so crm displays correct assigned reference
removed pinswg_name from appeal json so crm displays correct assigned reference Related work items: #11098
This commit is contained in:
@@ -786,8 +786,9 @@ let MakeRepresentation = (props) => {
|
||||
{Object.keys(
|
||||
props.props.currentView
|
||||
.representationCapacity
|
||||
).length > 0 &&
|
||||
(savingStatus ? (
|
||||
).length > 0 && (
|
||||
<div className="govuk-grid-row">
|
||||
{savingStatus ? (
|
||||
<span className=" progress-save-active">
|
||||
{router.locale == "cy"
|
||||
? "Nôl data"
|
||||
@@ -808,7 +809,8 @@ let MakeRepresentation = (props) => {
|
||||
className="govuk-button govuk-button--secondary progress-save "
|
||||
onClick={() => {
|
||||
let valuesObj =
|
||||
props.props.form[
|
||||
props.props
|
||||
.form[
|
||||
props.form
|
||||
].values || {};
|
||||
|
||||
@@ -836,7 +838,10 @@ let MakeRepresentation = (props) => {
|
||||
"common:save-exit-button"
|
||||
)}
|
||||
</button>
|
||||
))}
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
<div>
|
||||
{formObj.hasOwnProperty(
|
||||
"representationForm"
|
||||
) &&
|
||||
@@ -848,12 +853,14 @@ let MakeRepresentation = (props) => {
|
||||
].values.hasOwnProperty(
|
||||
"representationType"
|
||||
) &&
|
||||
formObj["representationForm"].values
|
||||
formObj["representationForm"]
|
||||
.values
|
||||
.representationType ==
|
||||
"Questionnaire" &&
|
||||
whichProgress()}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
|
||||
@@ -81,7 +81,10 @@ const AwaitingSubmissionFromBlob = (props) => {
|
||||
"appealComplete"
|
||||
) ? (
|
||||
<b>
|
||||
{showTopThreeArr[index].pinswg_name}
|
||||
{
|
||||
showTopThreeArr[index]
|
||||
.appealComplete
|
||||
}
|
||||
</b>
|
||||
) : (
|
||||
<Link
|
||||
|
||||
@@ -35,9 +35,11 @@ ApiProxy.get(async (req, res) => {
|
||||
});
|
||||
|
||||
Object.assign(blobProgress, {
|
||||
"appealComplete": true,
|
||||
"appealComplete": blobProgress.pinswg_name,
|
||||
});
|
||||
|
||||
delete blobProgress["pinswg_name"];
|
||||
|
||||
//http: if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||
|
||||
await createBlob(JSON.stringify(blobProgress), containerName, tempCaseRef)
|
||||
|
||||
Reference in New Issue
Block a user