fix: Check if execution will wait on Test step click (no-changelog) (#11311)

This commit is contained in:
Michael Kret
2024-10-23 15:53:01 +03:00
committed by GitHub
parent 96219486dc
commit fd11f1e169
8 changed files with 138 additions and 31 deletions

View File

@@ -961,14 +961,7 @@ const projectPermissions = computed(() => {
const isStoppingExecution = ref(false);
const isWorkflowRunning = computed(() => {
if (uiStore.isActionActive.workflowRunning) return true;
if (workflowsStore.activeExecutionId) {
const execution = workflowsStore.getWorkflowExecution;
if (execution && execution.status === 'waiting' && !execution.finished) return true;
}
return false;
});
const isWorkflowRunning = computed(() => workflowsStore.isWorkflowRunning);
const isExecutionWaitingForWebhook = computed(() => workflowsStore.executionWaitingForWebhook);
const isExecutionDisabled = computed(() => {