Skip to content

Commit

Permalink
Merge branch 'main' into next-release
Browse files Browse the repository at this point in the history
  • Loading branch information
rolorogan committed Jan 3, 2024
2 parents f223524 + 004f047 commit 1c05853
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Form/Step10SubmitConfirmation/Success.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ function Success() {
const [formDataState, formDataDispatch] = useContext(FormDataContext);
const { isRequestingRecovery } = formDataState;
const { Phone, SMSAlert, EmailAlert } = formDataState.formData;
const { Phone, SMSAlert, EmailAlert } = formDataState.formData;

const alignCenter = {
textAlign: 'center',
Expand All @@ -25,6 +26,7 @@ function Success() {
'Visit the link in the email to manage your disruption alerts.',
'You can now manage your services and communication preferences. You can access the page at any time by visiting the link in your email.',
];
} else if (Phone && SMSAlert === 'yes' && EmailAlert === 'yes') {
} else if (Phone && SMSAlert === 'yes' && EmailAlert === 'yes') {
/* Text messages AND Email */
message = 'You have successfully signed up to text message and email alerts';
Expand Down
5 changes: 5 additions & 0 deletions src/components/Form/Step2SmsAlert/Step2SmsAlert.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ const Step2SmsAlert = () => {
classes="wmnds-m-b-lg"
content="You can choose quiet hours or days. We won’t send you text or email alerts during those times."
/>
<InsetText
classes="wmnds-m-b-lg"
content="You can choose quiet hours or days. We won’t send you text or email alerts during those times."
/>
</legend>

<Radios
name="SMSAlert"
classes="wmnds-m-b-sm"
classes="wmnds-m-b-sm"
radios={radioButtons}
fieldValidation={register({
required: `Please select one option to proceed`,
Expand Down

0 comments on commit 1c05853

Please sign in to comment.