Skip to content

Commit

Permalink
Merge pull request #659 from companieshouse/IDVA5-1627-Cancel-an-update
Browse files Browse the repository at this point in the history
Fixing cancel button not showing when change is made
  • Loading branch information
ttingle-ch authored Feb 14, 2025
2 parents c455efb + 14ecad0 commit f58114e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/views/partials/update-your-details/limited-answers.njk
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
href: cancelChangeUrl + "&cancel=serviceAddress",
text: i18n.updateYourDetailsCancel,
visuallyHiddenText: i18n.updateYourDetailsCorrespondenceAddress
}if profileDetailsUpdated.correspondenceAddress !== profileDetails.correspondenceAddress
}if profileDetailsUpdated.serviceAddress !== profileDetails.serviceAddress
],
classes: "govuk-!-width-one-third"
}
Expand Down Expand Up @@ -100,7 +100,7 @@
href: cancelChangeUrl + "&cancel=registeredOfficeAddress",
text: i18n.updateYourDetailsCancel,
visuallyHiddenText: i18n.updateYourDetailsRegisteredOfficeAddress
}if profileDetailsUpdated.businessAddress !== profileDetails.businessAddress
}if profileDetailsUpdated.registeredOfficeAddress !== profileDetails.registeredOfficeAddress
],
classes: "govuk-!-width-one-third"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
href: cancelChangeUrl + "&cancel=serviceAddress",
text: i18n.updateYourDetailsCancel,
visuallyHiddenText: i18n.updateYourDetailsCorrespondenceAddress
} if profileDetailsUpdated.correspondenceAddress !== profileDetails.correspondenceAddress
} if profileDetailsUpdated.serviceAddress !== profileDetails.serviceAddress
],
classes: "govuk-!-width-one-third"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
href: cancelChangeUrl + "&cancel=serviceAddress",
text: i18n.updateYourDetailsCancel,
visuallyHiddenText: i18n.updateYourDetailsCorrespondenceAddress
}if profileDetailsUpdated.correspondenceAddress !== profileDetails.correspondenceAddress
}if profileDetailsUpdated.serviceAddress !== profileDetails.serviceAddress
],
classes: "govuk-!-width-one-third"
}
Expand Down Expand Up @@ -144,7 +144,7 @@
href: cancelChangeUrl + "&cancel=registeredOfficeAddress",
text: i18n.updateYourDetailsCancel,
visuallyHiddenText: i18n.updateYourDetailsBusinessAddress
}if profileDetailsUpdated.businessAddress !== profileDetails.businessAddress
}if profileDetailsUpdated.registeredOfficeAddress !== profileDetails.registeredOfficeAddress
],
classes: "govuk-!-width-one-third"
}
Expand Down

0 comments on commit f58114e

Please sign in to comment.