diff --git a/src/stores/workflowExecutions.ts b/src/stores/workflowExecutions.ts index 1219b81bc7e0bd830ec31ff0ff0382f9a41d2029..59c6c61c72ddb45716b40106053ec991e02f1a45 100644 --- a/src/stores/workflowExecutions.ts +++ b/src/stores/workflowExecutions.ts @@ -60,7 +60,7 @@ export const useWorkflowExecutionStore = defineStore({ .finally(onFinally); }, deleteExecution(executionId: string): Promise<void> { - return WorkflowExecutionService.workflowExecutionCancelWorkflowExecution( + return WorkflowExecutionService.workflowExecutionDeleteWorkflowExecution( executionId, ).then(() => { delete this.executionMapping[executionId]; diff --git a/src/views/workflows/ListWorkflowExecutionsView.vue b/src/views/workflows/ListWorkflowExecutionsView.vue index c42582cac7da4edd8b2a5d46b3972252f9dd4d38..51445454d9bae200ba7c345d32e0d9ec6186d3a4 100644 --- a/src/views/workflows/ListWorkflowExecutionsView.vue +++ b/src/views/workflows/ListWorkflowExecutionsView.vue @@ -63,11 +63,11 @@ const deleteModalString = computed<string>(() => { return `Workflow Execution ${ workflowRepository.workflowMapping[ executionsState.executionToDelete.workflow_id - ] + ].name }@${ workflowRepository.versionMapping[ executionsState.executionToDelete.workflow_version_id - ] + ].version } from ${dayjs .unix(executionsState.executionToDelete.start_time) .format("DD.MM.YYYY HH:mm")}`;