Skip to content

Commit a1e7044

Browse files
authored
Merge pull request #393 from devsecopsmaturitymodel/feat/opencre-activity
feat: backwords comp. for opencre
2 parents 29e921c + 3e3e00a commit a1e7044

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/component/activity-description/activity-description.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ export class ActivityDescriptionComponent implements OnInit {
9191
ngOnInit() {
9292
this.route.queryParams.subscribe(params => {
9393
this.currentActivity.uuid = params['uuid'];
94+
if (params['action']) {
95+
this.currentActivity.uuid = params['action']; //backwords compatibility, e.g. for openCRE
96+
}
9497
});
9598

9699
//gets value from sample file

0 commit comments

Comments
 (0)