minor fix
This commit is contained in:
parent
43134fa959
commit
72310d8ff1
|
@ -184,7 +184,7 @@ export class DatasetExternalReferencesEditorComponent extends BaseComponent impl
|
||||||
.pipe(takeUntil(this._destroyed))
|
.pipe(takeUntil(this._destroyed))
|
||||||
.subscribe(result => {
|
.subscribe(result => {
|
||||||
if (!result) { return; }
|
if (!result) { return; }
|
||||||
const serviceModel = new ExternalServiceEditorModel(result.abbreviation, result.definition, result.id, result.label, result.reference, result.uri, result.source);
|
const serviceModel = new ExternalServiceEditorModel(result.abbreviation, result.definition, result.id, result.label, result.reference, result.uri);
|
||||||
(<FormArray>this.formGroup.get('services')).push(serviceModel.buildForm());
|
(<FormArray>this.formGroup.get('services')).push(serviceModel.buildForm());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue