diff --git a/pages/_app.js b/pages/_app.js index 6656cd0..3262afc 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -56,19 +56,10 @@ const WrappedApp = (props) => window.widgetUserLogin = ${ props.acc !== null ? `"${ props.acc }"` : "undefined" }; window.widgetUserEmail = ${ props.email !== null ? `"${ props.email }"` : "undefined" }; window.widgetUserPayload = ${ props.acc !== null ? `{ "acc_number": "${ props.acc }" }` : "undefined" }; + window.widgetOperatorName = true; 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, - "widgetStyleParams": window.widgetStyleParams, - }); - const script = document.createElement('script'); script.id = "autofaqWidget"; script.type = "text/javascript";