Skip to content
Snippets Groups Projects
Verified Commit 1167ae1f authored by Daniel Göbel's avatar Daniel Göbel
Browse files

Fix wrong API call when deleting a workflow execution

#69
parent e1f6c1f9
No related branches found
No related tags found
2 merge requests!84Remove development branch,!64Resolve "Fix wrong API call when deleting a workflow execution"
...@@ -60,7 +60,7 @@ export const useWorkflowExecutionStore = defineStore({ ...@@ -60,7 +60,7 @@ export const useWorkflowExecutionStore = defineStore({
.finally(onFinally); .finally(onFinally);
}, },
deleteExecution(executionId: string): Promise<void> { deleteExecution(executionId: string): Promise<void> {
return WorkflowExecutionService.workflowExecutionCancelWorkflowExecution( return WorkflowExecutionService.workflowExecutionDeleteWorkflowExecution(
executionId, executionId,
).then(() => { ).then(() => {
delete this.executionMapping[executionId]; delete this.executionMapping[executionId];
......
...@@ -63,11 +63,11 @@ const deleteModalString = computed<string>(() => { ...@@ -63,11 +63,11 @@ const deleteModalString = computed<string>(() => {
return `Workflow Execution ${ return `Workflow Execution ${
workflowRepository.workflowMapping[ workflowRepository.workflowMapping[
executionsState.executionToDelete.workflow_id executionsState.executionToDelete.workflow_id
] ].name
}@${ }@${
workflowRepository.versionMapping[ workflowRepository.versionMapping[
executionsState.executionToDelete.workflow_version_id executionsState.executionToDelete.workflow_version_id
] ].version
} from ${dayjs } from ${dayjs
.unix(executionsState.executionToDelete.start_time) .unix(executionsState.executionToDelete.start_time)
.format("DD.MM.YYYY HH:mm")}`; .format("DD.MM.YYYY HH:mm")}`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment