This commit is contained in:
Julien Nahum
2024-02-01 18:21:34 +01:00
9 changed files with 17 additions and 20 deletions

View File

@@ -99,8 +99,7 @@ export default {
},
methods: {
openCrisp () {
this.$crisp.push(['do', 'chat:show'])
this.$crisp.push(['do', 'chat:open'])
useCrisp().openAndShowChat()
}
}
}

View File

@@ -32,9 +32,7 @@ export default {
methods: {
customPlanClick () {
window.$crisp.push(['do', 'chat:show'])
window.$crisp.push(['do', 'chat:open'])
window.$crisp.push(['do', 'message:send', ['text', 'Hi, I would like to discuss about a custom plan']])
useCrisp().sendTextMessage('Hi, I would like to discuss about a custom plan')
}
}
}