https://discord.gg/botpress logo
[BUG] TOS / PP links are set as text and link prop...
# 👀feature-requests
b
When TOS and Privacy Policy are set in the webchat v2, those links become the link AND the text in the bot... so the bots header shows https://toslink.com and https://pplink.com as text - inside the config.js its actually defined as text and link instead of only the link and have the text key hardcoded to "Terms of Service" and "Privacy Policy" https://cdn.discordapp.com/attachments/1293279495780040776/1293279495993823272/1CZx7Vf2szkGL5KiHaXFAiCL412r8IKl.png?ex=6706cbe3&is=67057a63&hm=bfb42650923ed050ad33526ed144d790b6e2f54d5492414e6220254868823c12& https://cdn.discordapp.com/attachments/1293279495780040776/1293279496241156116/hCp6hFhNeLJB4yB4xabkfDJ1wWY3jMsP.png?ex=6706cbe3&is=67057a63&hm=cfa4d2ab6bd1e2eebbb069c04a3c0fceee3da73e565319738ffcf90addf4dcef&
Copy code
json
    "termsOfService": {
      "title": "https://www.google.com",
      "link": "https://www.google.com"
    },
    "privacyPolicy": {
      "title": "test",
      "link": "test"
    },
this is still broken
title should be either set in UI or be as "Terms of Service" hardcoded in the config.js, same with "Privacy Policy"
2 Views