fix(editor): Show docs link in credential modal when docs sidebar is hidden (#10750)

This commit is contained in:
Elias Meire 2024-09-10 11:28:07 +02:00 committed by GitHub
parent 63548e6ead
commit 87333cbefe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -266,7 +266,10 @@ watch(showOAuthSuccessBanner, (newValue, oldValue) => {
/> />
<template v-if="credentialPermissions.update"> <template v-if="credentialPermissions.update">
<n8n-notice v-if="documentationUrl && credentialProperties.length && !docs" theme="warning"> <n8n-notice
v-if="documentationUrl && credentialProperties.length && !showCredentialDocs"
theme="warning"
>
{{ $locale.baseText('credentialEdit.credentialConfig.needHelpFillingOutTheseFields') }} {{ $locale.baseText('credentialEdit.credentialConfig.needHelpFillingOutTheseFields') }}
<span class="ml-4xs"> <span class="ml-4xs">
<n8n-link :to="documentationUrl" size="small" bold @click="onDocumentationUrlClick"> <n8n-link :to="documentationUrl" size="small" bold @click="onDocumentationUrlClick">