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

@@ -426,12 +426,7 @@ export default defineComponent({
return this.workflowsStore.getWorkflowExecution;
},
workflowRunning(): boolean {
if (this.uiStore.isActionActive.workflowRunning) return true;
if (this.workflowsStore.activeExecutionId) {
const execution = this.workflowsStore.getWorkflowExecution;
if (execution && execution.status === 'waiting' && !execution.finished) return true;
}
return false;
return this.workflowsStore.isWorkflowRunning;
},
currentWorkflow(): string {
return this.$route.params.name?.toString() || this.workflowsStore.workflowId;