fix(editor): Show run workflow button when chat trigger has pinned data (#12616)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions

This commit is contained in:
jeanpaul 2025-01-15 17:08:31 +01:00 committed by GitHub
parent ea208eddb7
commit da8aafc0e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,
);