Merge pull request #138 from sartography/bug/related-files-669

Fixes #669- Related Workflow Links not working in BPMN editor
This commit is contained in:
Dan Funk 2022-03-18 15:48:36 -04:00 committed by GitHub
commit 484988019d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,11 +197,11 @@ export class ModelerComponent implements AfterViewInit {
}); });
dialogRef.afterClosed().subscribe(dialogResult => { dialogRef.afterClosed().subscribe(dialogResult => {
if (dialogResult) { if (dialogResult) {
this.router.navigate(['/modeler', this.workflowSpecId, b.id]); this.router.navigate(['/modeler', this.workflowSpecId, 'file', b.name]);
} }
}); });
} else { } else {
this.router.navigate(['/modeler', this.workflowSpecId, b.id]) this.router.navigate(['/modeler', this.workflowSpecId, 'file', b.name])
} }
} }