Fixed initialization of workspaceitem/workflowitem's selfUrl

This commit is contained in:
Giuseppe Digilio
2020-02-27 11:16:42 +01:00
parent 500f5c645f
commit 355d9984b4
4 changed files with 4 additions and 4 deletions

View File

@@ -95,7 +95,7 @@ export class SubmissionSubmitComponent implements OnDestroy, OnInit {
this.router.navigate(['/mydspace']);
} else {
this.collectionId = (submissionObject.collection as Collection).id;
this.selfUrl = submissionObject.self;
this.selfUrl = submissionObject._links.self.href;
this.submissionDefinition = (submissionObject.submissionDefinition as SubmissionDefinitionsModel);
this.submissionId = submissionObject.id;
this.changeDetectorRef.detectChanges();