fix: navbar help link (#77)
* fix: navbar help link * fix: update links.php
This commit is contained in:
parent
1b15597e0e
commit
462f44a99c
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'help_url' => 'https://help.opnform.com/',
|
'help_url' => 'https://github.com/JhumanJ/OpnForm/discussions',
|
||||||
'helpdesk_sitemap_url' => 'https://notionforms.crisp.help/sitemap.xml',
|
'helpdesk_sitemap_url' => 'https://notionforms.crisp.help/sitemap.xml',
|
||||||
'changelog_url' => 'https://opnform.canny.io/changelog',
|
'changelog_url' => 'https://opnform.canny.io/changelog',
|
||||||
'github_url' => 'https://github.com/JhumanJ/OpnForm',
|
'github_url' => 'https://github.com/JhumanJ/OpnForm',
|
||||||
|
|
|
@ -21381,6 +21381,7 @@
|
||||||
"normalize-path": "^3.0.0",
|
"normalize-path": "^3.0.0",
|
||||||
"object-hash": "^3.0.0",
|
"object-hash": "^3.0.0",
|
||||||
"picocolors": "^1.0.0",
|
"picocolors": "^1.0.0",
|
||||||
|
"postcss": "^8.4.18",
|
||||||
"postcss-import": "^14.1.0",
|
"postcss-import": "^14.1.0",
|
||||||
"postcss-js": "^4.0.0",
|
"postcss-js": "^4.0.0",
|
||||||
"postcss-load-config": "^3.1.4",
|
"postcss-load-config": "^3.1.4",
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
>
|
>
|
||||||
Help
|
Help
|
||||||
</a>
|
</a>
|
||||||
<a href="https://help.opnform.com/en/" class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1"
|
<a :href="helpUrl" class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1"
|
||||||
target="_blank" v-else
|
target="_blank" v-else
|
||||||
>
|
>
|
||||||
Help
|
Help
|
||||||
|
@ -147,6 +147,7 @@ export default {
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
githubUrl: () => window.config.links.github_url,
|
githubUrl: () => window.config.links.github_url,
|
||||||
|
helpUrl: () => window.config.links.help_url,
|
||||||
form() {
|
form() {
|
||||||
if (this.$route.name && this.$route.name.startsWith('forms.show_public')) {
|
if (this.$route.name && this.$route.name.startsWith('forms.show_public')) {
|
||||||
return this.$store.getters['open/forms/getBySlug'](this.$route.params.slug)
|
return this.$store.getters['open/forms/getBySlug'](this.$route.params.slug)
|
||||||
|
@ -182,7 +183,7 @@ export default {
|
||||||
},
|
},
|
||||||
hasCrisp() {
|
hasCrisp() {
|
||||||
return window.config.crisp_website_id
|
return window.config.crisp_website_id
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue