diff --git a/components/questionnaire/forms/Form_4_Shareholders/index.js b/components/questionnaire/forms/Form_4_Shareholders/index.js index 8c9c2b4..0ff4f9b 100644 --- a/components/questionnaire/forms/Form_4_Shareholders/index.js +++ b/components/questionnaire/forms/Form_4_Shareholders/index.js @@ -396,7 +396,7 @@ class ShareholderForm extends React.Component
- +
window.widgetUserEmail = ${ props.email !== null ? `"${ props.email }"` : "undefined" }; window.widgetUserPayload = ${ props.acc !== null ? `{ "acc_number": "${ props.acc }" }` : "undefined" }; + window.widgetStyleParams = { "headerBackgroundColor": "#1c01a9", "messageToWidgetBackgroundColor": "#3d21f8" }; + console.log("widget", { - widgetHost: window.widgetHost, - widgetServiceId: window.widgetServiceId, - widgetChannelId: window.widgetChannelId, - widgetUserLogin: window.widgetUserLogin, - widgetUserEmail: window.widgetUserEmail, - widgetUserPayload: window.widgetUserPayload, + "widgetHost": window.widgetHost, + "widgetServiceId": window.widgetServiceId, + "widgetChannelId": window.widgetChannelId, + "widgetUserLogin": window.widgetUserLogin, + "widgetUserEmail": window.widgetUserEmail, + "widgetUserPayload": window.widgetUserPayload, + "widgetStyleParams": window.widgetStyleParams, }); const script = document.createElement('script');