@@ -77,8 +77,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
openChat() {
|
||||
window.$crisp.push(['do', 'chat:show'])
|
||||
window.$crisp.push(['do', 'chat:open'])
|
||||
useCrisp().openAndShowChat()
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
<small>If the submission has the same value(s) as a previous one for the selected
|
||||
column(s), we will update it, instead of creating a new one.
|
||||
<a href="#"
|
||||
@click.prevent="$crisp.push(['do', 'helpdesk:article:open', ['en', 'how-to-update-a-page-on-form-submission-1t1jwmn']])"
|
||||
@click.prevent="crisp.openHelpdeskArticle('how-to-update-a-page-on-form-submission-1t1jwmn')"
|
||||
>More
|
||||
info here.</a>
|
||||
</small>
|
||||
@@ -142,7 +142,8 @@ export default {
|
||||
const {content: form} = storeToRefs(workingFormStore)
|
||||
return {
|
||||
form,
|
||||
workingFormStore
|
||||
workingFormStore,
|
||||
crisp: useCrisp()
|
||||
}
|
||||
},
|
||||
data () {
|
||||
|
||||
@@ -99,8 +99,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
openCrisp () {
|
||||
this.$crisp.push(['do', 'chat:show'])
|
||||
this.$crisp.push(['do', 'chat:open'])
|
||||
useCrisp().openAndShowChat()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user