mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
use unique list ids for each submission
This commit is contained in:
@@ -258,7 +258,7 @@ export class DsDynamicFormControlContainerComponent extends DynamicFormControlCo
|
|||||||
if (this.isRelationship || isWrapperAroundRelationshipList) {
|
if (this.isRelationship || isWrapperAroundRelationshipList) {
|
||||||
const config = this.model.relationshipConfig || this.model.relationship;
|
const config = this.model.relationshipConfig || this.model.relationship;
|
||||||
const relationshipOptions = Object.assign(new RelationshipOptions(), config);
|
const relationshipOptions = Object.assign(new RelationshipOptions(), config);
|
||||||
this.listId = 'list-' + relationshipOptions.relationshipType;
|
this.listId = `list-${this.model.submissionId}-${relationshipOptions.relationshipType}`;
|
||||||
this.setItem();
|
this.setItem();
|
||||||
|
|
||||||
if (isWrapperAroundRelationshipList || !this.model.repeatable) {
|
if (isWrapperAroundRelationshipList || !this.model.repeatable) {
|
||||||
|
Reference in New Issue
Block a user