From aade8ec7d36ee4b366e39673d858c49861d6f1c0 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Thu, 14 Mar 2024 09:22:14 +0000 Subject: [PATCH] added logic to hide case reference in check section --- components/newappeal/buildcheckrow.js | 38 +++++++++++++++------------ next.config.js | 1 + 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/components/newappeal/buildcheckrow.js b/components/newappeal/buildcheckrow.js index f4499d9e..9197f561 100644 --- a/components/newappeal/buildcheckrow.js +++ b/components/newappeal/buildcheckrow.js @@ -176,25 +176,29 @@ let BuildCheckRow = (props) => {
- { - updateCurrentSection( - whichSection - ); - }} - > - {t( - "newappeal:change-link-label" - )} - + {rows[0].value != + "Case reference" && ( + { + updateCurrentSection( + whichSection + ); + }} + > {" "} - {FieldsTranslations( - rows[0].value + {t( + "newappeal:change-link-label" )} - - + + {" "} + {FieldsTranslations( + rows[0].value + )} + + + )}
); diff --git a/next.config.js b/next.config.js index a90006ab..a7d1ed26 100644 --- a/next.config.js +++ b/next.config.js @@ -57,6 +57,7 @@ const securityHeaders = [ const buildId = Date.now().toString(); module.exports = { + //output: "standalone", env: { BUILD_ID_ENV: buildId, },