Skip to content

Commit 0595813

Browse files
committed
fix red branch
1 parent d915f1d commit 0595813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/html_builder/static/src/website_builder/plugins/form/form_option_plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export class FormOptionPlugin extends Plugin {
221221
// We use it if there is no value on the email_to input.
222222
const formId = el.id;
223223
const dataForValues = getParsedDataFor(formId, el.ownerDocument);
224-
return dataForValues["email_to"] || this.defaultEmailToValue
224+
return dataForValues?.["email_to"] || this.defaultEmailToValue;
225225
}
226226
if (value) {
227227
return value;

0 commit comments

Comments
 (0)