Reload versions when opening workflow definition

This commit is contained in:
Sipke Schoorstra 2023-01-30 17:28:29 +01:00
parent 173904ca58
commit 5234999403

View file

@ -94,6 +94,7 @@ export class WorkflowDefinitionEditor {
@Method()
async importWorkflow(workflowDefinition: WorkflowDefinition): Promise<void> {
await this.updateWorkflowDefinition(workflowDefinition);
await this.loadWorkflowVersions();
// Update the flowchart after state is updated.
window.requestAnimationFrame(async () => {