Merged PR 1261: hide back button on first step of rep

hide back button on first step of rep

Related work items: #12466
This commit is contained in:
Robert Bond
2024-10-09 11:48:28 +00:00
+7 -1
View File
@@ -788,6 +788,11 @@ const Breadcrumbs = (props) => {
.currentReference
}
</li> */}
{typeof props.currentView
.representationCapacity != "undefined" &&
props.currentView.representationCapacity !=
"" && (
<li className="govuk-breadcrumbs__link-item">
<a
className="govuk-breadcrumbs__link"
@@ -801,9 +806,10 @@ const Breadcrumbs = (props) => {
);
}}
>
{t("common:back-link")}
{t("common:back-link")}{" "}
</a>
</li>
)}
</>
)}
{router.pathname == "/account/personaldetails" && (