diff --git a/packages/editor-ui/src/api/workflows.ts b/packages/editor-ui/src/api/workflows.ts index f476f03a86..f649ca3740 100644 --- a/packages/editor-ui/src/api/workflows.ts +++ b/packages/editor-ui/src/api/workflows.ts @@ -27,3 +27,7 @@ export async function getCurrentExecutions(context: IRestApiContext, filter: IDa export async function getFinishedExecutions(context: IRestApiContext, filter: IDataObject) { return await makeRestApiRequest(context, 'GET', '/executions', { filter }); } + +export async function getExecutionData(context: IRestApiContext, executionId: string) { + return await makeRestApiRequest(context, 'GET', `/executions/${executionId}`); +} diff --git a/packages/editor-ui/src/components/ExecutionsView/ExecutionsSidebar.vue b/packages/editor-ui/src/components/ExecutionsView/ExecutionsSidebar.vue index 135b3d2eeb..2e5ab97b8d 100644 --- a/packages/editor-ui/src/components/ExecutionsView/ExecutionsSidebar.vue +++ b/packages/editor-ui/src/components/ExecutionsView/ExecutionsSidebar.vue @@ -1,5 +1,5 @@