From cf0c05ff6ac414faaf363874858c468a02cb15bc Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Wed, 16 Apr 2025 14:55:06 +0100 Subject: [PATCH] removed comments --- .../representation/representationAgent.js | 4 ++-- .../representation/representationAppellant.js | 4 ++-- .../representationInterestedPartyPerson.js | 4 ++-- .../case/representation/representationLPA.js | 24 +++++++++---------- components/elements/index.js | 2 +- components/newappeal/buildsection.js | 10 ++++---- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/components/case/representation/representationAgent.js b/components/case/representation/representationAgent.js index c5c39db2..6e13b87e 100644 --- a/components/case/representation/representationAgent.js +++ b/components/case/representation/representationAgent.js @@ -287,13 +287,13 @@ const RepAgent = (props) => { props.props.props.form[props.form] .values || {}; - console.log("valuesobj:", valuesObj); + //console.log("valuesobj:", valuesObj); delete valuesObj[ "_pinswg_appellant_value" ]; - console.log("on save:", valuesObj); + //console.log("on save:", valuesObj); updateRepresentation( valuesObj, false, diff --git a/components/case/representation/representationAppellant.js b/components/case/representation/representationAppellant.js index 64ccd627..5dc66794 100644 --- a/components/case/representation/representationAppellant.js +++ b/components/case/representation/representationAppellant.js @@ -275,13 +275,13 @@ const RepAppellant = (props) => { props.props.props.form[props.form] .values || {}; - console.log("valuesobj:", valuesObj); + //console.log("valuesobj:", valuesObj); delete valuesObj[ "_pinswg_appellant_value" ]; - console.log("on save:", valuesObj); + //console.log("on save:", valuesObj); updateRepresentation( valuesObj, false, diff --git a/components/case/representation/representationInterestedPartyPerson.js b/components/case/representation/representationInterestedPartyPerson.js index 6967c61d..11c3cca6 100644 --- a/components/case/representation/representationInterestedPartyPerson.js +++ b/components/case/representation/representationInterestedPartyPerson.js @@ -283,13 +283,13 @@ const RepInterestedPartyPerson = (props) => { props.props.props.form[props.form] .values || {}; - console.log("valuesobj:", valuesObj); + //console.log("valuesobj:", valuesObj); delete valuesObj[ "_pinswg_appellant_value" ]; - console.log("on save:", valuesObj); + //console.log("on save:", valuesObj); updateRepresentation( valuesObj, false, diff --git a/components/case/representation/representationLPA.js b/components/case/representation/representationLPA.js index 19eb3b5b..9818fe09 100644 --- a/components/case/representation/representationLPA.js +++ b/components/case/representation/representationLPA.js @@ -480,16 +480,16 @@ let RepLPA = (props) => { props.form ].values || {}; - console.log( - "valuesobj:", - valuesObj - ); + // console.log( + // "valuesobj:", + // valuesObj + // ); delete valuesObj[ "_pinswg_appellant_value" ]; - console.log("on save:", valuesObj); + //console.log("on save:", valuesObj); updateRepresentation( valuesObj, false, @@ -515,13 +515,13 @@ let RepLPA = (props) => { props.props.props.form[props.form] .values || {}; - console.log("valuesobj:", valuesObj); + //console.log("valuesobj:", valuesObj); delete valuesObj[ "_pinswg_appellant_value" ]; - console.log("on save:", valuesObj); + //console.log("on save:", valuesObj); updateRepresentation( valuesObj, false, @@ -571,16 +571,16 @@ let RepLPA = (props) => { props.form ].values || {}; - console.log( - "valuesobj:", - valuesObj - ); + // console.log( + // "valuesobj:", + // valuesObj + // ); delete valuesObj[ "_pinswg_appellant_value" ]; - console.log("on save:", valuesObj); + //console.log("on save:", valuesObj); updateRepresentation( valuesObj, false, diff --git a/components/elements/index.js b/components/elements/index.js index a11ea73b..931edf43 100644 --- a/components/elements/index.js +++ b/components/elements/index.js @@ -224,7 +224,7 @@ export function Textfield(props) { // console.log(parentField, formProps, form); //console.log("validation props:", validation); - const requiredMessage = t("account:is-required-label"); + const requiredMessage = t("newappeal:is-required-label"); const emojiNotAllowedMessage = t("newappeal:emojis-not-allowed-label"); const invalidPostcodeMessage = t("newappeal:invalid-postcode-label"); return ( diff --git a/components/newappeal/buildsection.js b/components/newappeal/buildsection.js index 7d57af76..712bff39 100644 --- a/components/newappeal/buildsection.js +++ b/components/newappeal/buildsection.js @@ -488,7 +488,7 @@ let BuildSection = (props) => { "_pinswg_appellant_value" ]; - console.log("on save:", valuesObj); + //console.log("on save:", valuesObj); updateCaseProgress( valuesObj, false, @@ -593,10 +593,10 @@ let BuildSection = (props) => { props.props.form[props.form] .values || {}; - console.log( - "valuesobj:", - valuesObj - ); + // console.log( + // "valuesobj:", + // valuesObj + // ); delete valuesObj[ "_pinswg_appellant_value"