languge check for relevant template language
This commit is contained in:
@@ -40,12 +40,17 @@ const RepComplete = (props) => {
|
||||
props.props.currentView.caseReference.appealType === 846040002;
|
||||
|
||||
useEffect(() => {
|
||||
const isWelsh = router.locale === "cy";
|
||||
const reference = isSIPS
|
||||
? "PEDW-CONSULTATION-COMPLETE"
|
||||
: "PEDW-REPRESENTATION-COMPLETE";
|
||||
? "PEDW-CONSULTATION-COMPLETE" + isWelsh && "-CY"
|
||||
: "PEDW-REPRESENTATION-COMPLETE" + isWelsh && "-CY";
|
||||
const templateId = isSIPS
|
||||
? "c3f373ca-df9d-4967-bea0-3ad3a57f8dcc"
|
||||
: "c49785e7-3217-40b6-b33f-dffc4e58d5c1";
|
||||
? isWelsh
|
||||
? "7d27b968-6f63-4334-b1c4-2e4a69554212"
|
||||
: "c3f373ca-df9d-4967-bea0-3ad3a57f8dcc"
|
||||
: isWelsh
|
||||
? "6e2f0111-b352-4074-91a2-760403cd185b"
|
||||
: "c49785e7-3217-40b6-b33f-dffc4e58d5c1";
|
||||
|
||||
const emailAddress =
|
||||
props.props.props.props.accountDetails.accountDetails.emailaddress1;
|
||||
|
||||
Reference in New Issue
Block a user