Merged PR 932: hide rep button

hide rep button

Related work items: #7945
This commit is contained in:
Robert Bond
2022-10-20 09:49:04 +00:00
+6 -6
View File
@@ -276,11 +276,11 @@ const CaseSummary = (props) => {
</dl> </dl>
</div> </div>
</div> </div>
<div className="govuk-grid-row"> {/* <div className="govuk-grid-row">
<div className="govuk-grid-column-full"> <div className="govuk-grid-column-full">
<div className="govuk-button-group"> <div className="govuk-button-group">
{props.currentView.caseReference.showreps == {props.currentView.caseReference.showreps !=
"false" ? ( "true" ? (
"" ""
) : noRepresentationLink.includes( ) : noRepresentationLink.includes(
router.pathname router.pathname
@@ -296,7 +296,7 @@ const CaseSummary = (props) => {
</Link> </Link>
)} )}
{/* <a <a
onClick={() => { onClick={() => {
//spinnerState(); //spinnerState();
router.back(); router.back();
@@ -304,10 +304,10 @@ const CaseSummary = (props) => {
className="govuk-button govuk-button--secondary" className="govuk-button govuk-button--secondary"
> >
{t("case:summary-back-button-label")} {t("case:summary-back-button-label")}
</a> */} </a>
</div> </div>
</div> </div>
</div> </div> */}
{showSummary(casesObj, detailsObj)} {showSummary(casesObj, detailsObj)}
</div> </div>
) : ( ) : (