mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
fix(ai-builder): Hide execute and refine button when there's no trigger (#23144)
This commit is contained in:
+7
-2
@@ -225,14 +225,19 @@ onBeforeUnmount(() => {
|
||||
</template>
|
||||
|
||||
<!-- No Issues Section -->
|
||||
<template v-else>
|
||||
<template v-else-if="triggerNodes.length > 0">
|
||||
<p :class="$style.noIssuesMessage">
|
||||
{{ i18n.baseText('aiAssistant.builder.executeMessage.noIssues') }}
|
||||
</p>
|
||||
</template>
|
||||
|
||||
<!-- Execution Button -->
|
||||
<N8nTooltip :disabled="!hasValidationIssues" :content="executeButtonTooltip" placement="left">
|
||||
<N8nTooltip
|
||||
v-if="triggerNodes.length > 0"
|
||||
:disabled="!hasValidationIssues"
|
||||
:content="executeButtonTooltip"
|
||||
placement="left"
|
||||
>
|
||||
<CanvasRunWorkflowButton
|
||||
:class="$style.runButton"
|
||||
:disabled="hasValidationIssues || builderStore.hasNoCreditsRemaining"
|
||||
|
||||
Reference in New Issue
Block a user