Skip to content

Commit

Permalink
Fixing cancel button not showing when change is made
Browse files Browse the repository at this point in the history
  • Loading branch information
ttingle-ch committed Feb 14, 2025
1 parent a0cb5dd commit 14ecad0
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 14ecad0

Please sign in to comment.