crisp migration (#302)

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
formsdev
2024-01-31 22:18:43 +05:30
committed by Julien Nahum
parent a650228a67
commit 9f909d1b13
6 changed files with 10 additions and 13 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')
}
}
}