mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
fix(editor): Update version control docs links (#6440)
* fix(editor): Update version control setup docs link * fix(editor): add setup version control docs link to other places * fix(editor): making docs link reactive
This commit is contained in:
parent
d3b78e291e
commit
da105f468b
|
@ -13,6 +13,8 @@ const toast = useToast();
|
|||
const message = useMessage();
|
||||
const loadingService = useLoadingService();
|
||||
|
||||
const versionControlDocsUrl = ref('https://docs.n8n.io/environments/version-control/');
|
||||
const versionControlDocsSetupUrl = computed(() => versionControlDocsUrl.value + 'setup/');
|
||||
const isConnected = ref(false);
|
||||
|
||||
const onConnect = async () => {
|
||||
|
@ -188,7 +190,7 @@ const refreshBranches = async () => {
|
|||
<n8n-callout theme="secondary" icon="info-circle" class="mt-2xl mb-l">
|
||||
<i18n path="settings.versionControl.description">
|
||||
<template #link>
|
||||
<a href="#" target="_blank">
|
||||
<a :href="versionControlDocsSetupUrl" target="_blank">
|
||||
{{ locale.baseText('settings.versionControl.description.link') }}
|
||||
</a>
|
||||
</template>
|
||||
|
@ -279,7 +281,7 @@ const refreshBranches = async () => {
|
|||
<n8n-notice type="info" class="mt-s">
|
||||
<i18n path="settings.versionControl.sshKeyDescription">
|
||||
<template #link>
|
||||
<a href="#" target="_blank">{{
|
||||
<a :href="versionControlDocsSetupUrl" target="_blank">{{
|
||||
locale.baseText('settings.versionControl.sshKeyDescriptionLink')
|
||||
}}</a>
|
||||
</template>
|
||||
|
@ -344,7 +346,7 @@ const refreshBranches = async () => {
|
|||
<strong>{{ locale.baseText('settings.versionControl.readonly.bold') }}</strong>
|
||||
</template>
|
||||
<template #link>
|
||||
<a href="#" target="_blank">
|
||||
<a :href="versionControlDocsSetupUrl" target="_blank">
|
||||
{{ locale.baseText('settings.versionControl.readonly.link') }}
|
||||
</a>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue