Fix "workflow not found" message

This commit is contained in:
Sipke Schoorstra 2021-04-26 15:25:22 +02:00
parent 26aefe1dde
commit 44c1b078a6

View file

@ -48,7 +48,7 @@ export class ElsaWorkflowInstancesListScreen {
async loadWorkflowBlueprints() {
const elsaClient = this.createClient();
const versionOptions: VersionOptions = {isLatestOrPublished: true};
const versionOptions: VersionOptions = {allVersions: true};
const workflowBlueprintPagedList = await elsaClient.workflowRegistryApi.list(null, null, versionOptions);
this.workflowBlueprints = workflowBlueprintPagedList.items;
}