fix(editor): Show run workflow button when chat trigger has pinned data (#12616)

This commit is contained in:
jeanpaul
2025-01-15 17:08:31 +01:00
committed by GitHub
parent ea208eddb7
commit da8aafc0e3
+3 -1
View File
@@ -1075,7 +1075,9 @@ const isExecutionDisabled = computed(() => {
return !containsTriggerNodes.value || allTriggerNodesDisabled.value;
});
const isRunWorkflowButtonVisible = computed(() => !isOnlyChatTriggerNodeActive.value);
const isRunWorkflowButtonVisible = computed(
() => !isOnlyChatTriggerNodeActive.value || chatTriggerNodePinnedData.value,
);
const isStopExecutionButtonVisible = computed(
() => isWorkflowRunning.value && !isExecutionWaitingForWebhook.value,
);