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:
@@ -788,6 +788,11 @@ const Breadcrumbs = (props) => {
|
|||||||
.currentReference
|
.currentReference
|
||||||
}
|
}
|
||||||
</li> */}
|
</li> */}
|
||||||
|
|
||||||
|
{typeof props.currentView
|
||||||
|
.representationCapacity != "undefined" &&
|
||||||
|
props.currentView.representationCapacity !=
|
||||||
|
"" && (
|
||||||
<li className="govuk-breadcrumbs__link-item">
|
<li className="govuk-breadcrumbs__link-item">
|
||||||
<a
|
<a
|
||||||
className="govuk-breadcrumbs__link"
|
className="govuk-breadcrumbs__link"
|
||||||
@@ -801,9 +806,10 @@ const Breadcrumbs = (props) => {
|
|||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{t("common:back-link")}
|
{t("common:back-link")}{" "}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{router.pathname == "/account/personaldetails" && (
|
{router.pathname == "/account/personaldetails" && (
|
||||||
|
|||||||
Reference in New Issue
Block a user