fixthestatusquo/proca

No confirm action alert

1v4n4 opened this issue · 4 comments

The "Please check email and confirm action" snack is not working anymore for some cases.

Example (LC):
"consent": {
"email": {
"confirmAction": true
},
"implicit": true
},

It is because when action is taken the data.privacy is null, the code:

if (props.email?.confirmAction && data.privacy) {

tttp commented

mid term: implement that: #1350

short term: what is in data.privacy now? we need to change the test to it triggers if the form was filled but not if coming back from the click confirm in the email

For LC, with implicit:true, data .privacy is null

tttp commented

so
if (props.email?.confirmAction && (data.privacy || data.privacy === null))

should work, try and then go on the page with proca_go=Share to see if it isn't triggered

Short term: 21ee683