diff --git a/package-lock.json b/package-lock.json index 593fd44..3361145 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "ngx-markdown": "^12.0.1", "protractor": "^7.0.0", "rxjs": "^6.5.3", - "sartography-workflow-lib": "0.0.613", + "sartography-workflow-lib": "0.0.614", "tslib": "^2.3.0", "uuid": "^8.3.2", "zone.js": "~0.11.4" @@ -16906,9 +16906,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sartography-workflow-lib": { - "version": "0.0.613", - "resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.613.tgz", - "integrity": "sha512-mR6QLCZgei6TmmS7AoMbF3nY5Kux9AdnIwJEdyn7azSVpZHavG/O0zYjiH2QyEep7qscxExTGp36ewy/nX4VSg==", + "version": "0.0.614", + "resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.614.tgz", + "integrity": "sha512-T1zjzZpO8GrhjMyqV1JLT3pqGfl9zMsOQkIqcOPXMdGqbv1OiCZHkBg/IZAIJ8wMZsvGYiEJOhNl3F2zdjU+Ww==", "dependencies": { "tslib": "^2.2.0" } @@ -33428,9 +33428,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "sartography-workflow-lib": { - "version": "0.0.613", - "resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.613.tgz", - "integrity": "sha512-mR6QLCZgei6TmmS7AoMbF3nY5Kux9AdnIwJEdyn7azSVpZHavG/O0zYjiH2QyEep7qscxExTGp36ewy/nX4VSg==", + "version": "0.0.614", + "resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.614.tgz", + "integrity": "sha512-T1zjzZpO8GrhjMyqV1JLT3pqGfl9zMsOQkIqcOPXMdGqbv1OiCZHkBg/IZAIJ8wMZsvGYiEJOhNl3F2zdjU+Ww==", "requires": { "tslib": "^2.2.0" } diff --git a/package.json b/package.json index f66f3c4..b89bac3 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "ngx-markdown": "^12.0.1", "protractor": "^7.0.0", "rxjs": "^6.5.3", - "sartography-workflow-lib": "0.0.613", + "sartography-workflow-lib": "0.0.614", "tslib": "^2.3.0", "uuid": "^8.3.2", "zone.js": "~0.11.4" diff --git a/src/app/modeler/modeler.component.ts b/src/app/modeler/modeler.component.ts index f088d0a..b1bbdbb 100644 --- a/src/app/modeler/modeler.component.ts +++ b/src/app/modeler/modeler.component.ts @@ -197,11 +197,11 @@ export class ModelerComponent implements AfterViewInit { }); dialogRef.afterClosed().subscribe(dialogResult => { if (dialogResult) { - this.router.navigate(['/modeler', this.workflowSpecId, b.id]); + this.router.navigate(['/modeler', this.workflowSpecId, 'file', b.name]); } }); } else { - this.router.navigate(['/modeler', this.workflowSpecId, b.id]) + this.router.navigate(['/modeler', this.workflowSpecId, 'file', b.name]) } } diff --git a/src/app/workflow-spec-list/workflow-spec-list.component.spec.ts b/src/app/workflow-spec-list/workflow-spec-list.component.spec.ts index b6b85fd..5bf5caa 100644 --- a/src/app/workflow-spec-list/workflow-spec-list.component.spec.ts +++ b/src/app/workflow-spec-list/workflow-spec-list.component.spec.ts @@ -416,7 +416,8 @@ describe('WorkflowSpecListComponent', () => { task_data: {}, line_number: 12, offset: 0, - error_line: 'x != y' + error_line: 'x != y', + task_trace: [] }; invalidReq.flush([mockError]); expect(bottomSheetSpy).toHaveBeenCalled();