From 9d637576dff0858cb5a96deb88c12d17b1eefbde Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Thu, 20 Oct 2022 10:47:50 +0100 Subject: [PATCH] hide rep button --- components/case/summary.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/case/summary.js b/components/case/summary.js index 0fe5c377..bf5be85b 100644 --- a/components/case/summary.js +++ b/components/case/summary.js @@ -276,11 +276,11 @@ const CaseSummary = (props) => { -
+ {/*
- {props.currentView.caseReference.showreps == - "false" ? ( + {props.currentView.caseReference.showreps != + "true" ? ( "" ) : noRepresentationLink.includes( router.pathname @@ -296,7 +296,7 @@ const CaseSummary = (props) => { )} - {/* { //spinnerState(); router.back(); @@ -304,10 +304,10 @@ const CaseSummary = (props) => { className="govuk-button govuk-button--secondary" > {t("case:summary-back-button-label")} - */} +
-
+
*/} {showSummary(casesObj, detailsObj)} ) : (