diff --git a/package.json b/package.json index 2a81b0a87..3c5535c68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web-client", - "version": "24.02.1", + "version": "24.02.2", "private": true, "scripts": { "dev": "vite", diff --git a/src/modules/routing/modules/chat-gateways/modules/webchat/components/copy-code-button.vue b/src/modules/routing/modules/chat-gateways/modules/webchat/components/copy-code-button.vue index 54f5f9d30..31a14b98c 100644 --- a/src/modules/routing/modules/chat-gateways/modules/webchat/components/copy-code-button.vue +++ b/src/modules/routing/modules/chat-gateways/modules/webchat/components/copy-code-button.vue @@ -168,10 +168,10 @@ export default { return { url, id: uri.slice(1) }; }, - processCaptchaConfig({ enabled, sitekey }, uri) { + processCaptchaConfig({ enabled, sitekey, showFlag }, uri) { if (!enabled) return undefined; const verifyUrl = new URL(path.join(CHAT_URL, uri, 'captcha'), SCRIPT_URL); - return { sitekey, verifyUrl }; + return { sitekey, verifyUrl, showFlag }; }, }, }; diff --git a/src/modules/routing/modules/chat-gateways/modules/webchat/components/opened-chat-gateway-webchat-recaptcha-tab.vue b/src/modules/routing/modules/chat-gateways/modules/webchat/components/opened-chat-gateway-webchat-recaptcha-tab.vue index b5a8f7053..4f6bebc2b 100644 --- a/src/modules/routing/modules/chat-gateways/modules/webchat/components/opened-chat-gateway-webchat-recaptcha-tab.vue +++ b/src/modules/routing/modules/chat-gateways/modules/webchat/components/opened-chat-gateway-webchat-recaptcha-tab.vue @@ -41,6 +41,12 @@ required @input="setWebchatMetadata({ path: 'metadata.captcha.threshold', value: +$event })" /> + diff --git a/src/modules/routing/modules/chat-gateways/store/_internals/providers/webChatGateway.js b/src/modules/routing/modules/chat-gateways/store/_internals/providers/webChatGateway.js index 1c713ee3b..721e87fe6 100644 --- a/src/modules/routing/modules/chat-gateways/store/_internals/providers/webChatGateway.js +++ b/src/modules/routing/modules/chat-gateways/store/_internals/providers/webChatGateway.js @@ -30,6 +30,7 @@ const webChatGateway = (_btnCodeDirty = false) => ({ sitekey: '', secret: '', threshold: 0.5, + showFlag: false, }, chat: { enabled: true,