fixes an exception is no history is available (#2621)
Co-authored-by: Martin <mp@prakom.net>
This commit is contained in:
parent
10998a8fd6
commit
8675baf1ae
|
|
@ -385,7 +385,9 @@ export class ElsaWorkflowDefinitionEditorScreen {
|
|||
}
|
||||
|
||||
updateUrl(id) {
|
||||
this.history.push(`${this.basePath}/workflow-definitions/${id}`, {});
|
||||
if (this.history) {
|
||||
this.history.push(`${this.basePath}/workflow-definitions/${id}`, {});
|
||||
}
|
||||
}
|
||||
|
||||
mapWorkflowModel(workflowDefinition: WorkflowDefinition): WorkflowModel {
|
||||
|
|
|
|||
Loading…
Reference in a new issue