mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: Hide assistant button when showing Click to connect (#10932)
This commit is contained in:
@@ -177,6 +177,7 @@ const isAskAssistantAvailable = computed(
|
||||
documentationUrl.value.includes(DOCS_DOMAIN) &&
|
||||
props.credentialProperties.length &&
|
||||
props.credentialPermissions.update &&
|
||||
!(props.isOAuthType && props.requiredPropertiesFilled) &&
|
||||
assistantStore.isAssistantEnabled,
|
||||
);
|
||||
|
||||
@@ -322,7 +323,7 @@ watch(showOAuthSuccessBanner, (newValue, oldValue) => {
|
||||
<div
|
||||
v-if="isAskAssistantAvailable"
|
||||
:class="$style.askAssistantButton"
|
||||
data-test-id="credentail-edit-ask-assistant-button"
|
||||
data-test-id="credential-edit-ask-assistant-button"
|
||||
>
|
||||
<InlineAskAssistantButton :asked="assistantAlreadyAsked" @click="onAskAssistantClick" />
|
||||
<span>for setup instructions</span>
|
||||
|
||||
Reference in New Issue
Block a user