Fixed switch collection in submission form not working anymore

This commit is contained in:
Alexandre Vryghem
2023-05-19 14:59:23 +02:00
parent 2030b29ddc
commit 11a86c3756

View File

@@ -168,7 +168,7 @@ export class SubmissionFormCollectionComponent implements OnChanges, OnInit {
}) })
).subscribe((submissionObject: SubmissionObject) => { ).subscribe((submissionObject: SubmissionObject) => {
this.selectedCollectionId = event.collection.id; this.selectedCollectionId = event.collection.id;
this.selectedCollectionName$ = observableOf(this.dsoNameService.getName(event.collection)); this.selectedCollectionName$ = observableOf(event.collection.name);
this.collectionChange.emit(submissionObject); this.collectionChange.emit(submissionObject);
this.submissionService.changeSubmissionCollection(this.submissionId, event.collection.id); this.submissionService.changeSubmissionCollection(this.submissionId, event.collection.id);
this.processingChange$.next(false); this.processingChange$.next(false);