hide back button on first step of rep
This commit is contained in:
+22
-16
@@ -788,22 +788,28 @@ const Breadcrumbs = (props) => {
|
|||||||
.currentReference
|
.currentReference
|
||||||
}
|
}
|
||||||
</li> */}
|
</li> */}
|
||||||
<li className="govuk-breadcrumbs__link-item">
|
|
||||||
<a
|
{typeof props.currentView
|
||||||
className="govuk-breadcrumbs__link"
|
.representationCapacity != "undefined" &&
|
||||||
href="#"
|
props.currentView.representationCapacity !=
|
||||||
onClick={() => {
|
"" && (
|
||||||
setRepresentationCapacity();
|
<li className="govuk-breadcrumbs__link-item">
|
||||||
props.updateField(
|
<a
|
||||||
"representationForm",
|
className="govuk-breadcrumbs__link"
|
||||||
"representationType",
|
href="#"
|
||||||
""
|
onClick={() => {
|
||||||
);
|
setRepresentationCapacity();
|
||||||
}}
|
props.updateField(
|
||||||
>
|
"representationForm",
|
||||||
{t("common:back-link")}
|
"representationType",
|
||||||
</a>
|
""
|
||||||
</li>
|
);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{t("common:back-link")}{" "}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{router.pathname == "/account/personaldetails" && (
|
{router.pathname == "/account/personaldetails" && (
|
||||||
|
|||||||
Reference in New Issue
Block a user