Fix help link (#205)

* Fix help link

* Increase spacing

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
formsdev
2023-09-19 18:31:04 +05:30
committed by GitHub
parent 615fa5cda2
commit d13a859c6e
3 changed files with 11 additions and 3 deletions

View File

@@ -22,7 +22,7 @@
<div class="hidden md:block mr-10 relative">
<a href="#"
class="text-sm px-3 py-2 hover:bg-gray-50 cursor-pointer rounded-md text-gray-500 px-0 sm:px-3 hover:text-gray-800 cursor-pointer mt-1"
@click.prevent="$crisp.push(['do', 'helpdesk:search'])"
@click.prevent="openCrisp"
>
Help
</a>
@@ -221,6 +221,10 @@ export default {
},
methods: {
openCrisp () {
window.$crisp.push(['do', 'chat:show'])
window.$crisp.push(['do', 'chat:open'])
},
showValidationErrors() {
this.showFormErrorModal = true
},