diff --git a/ui-ngx/src/app/modules/home/components/relation/relation-dialog.component.html b/ui-ngx/src/app/modules/home/components/relation/relation-dialog.component.html
index 91a0357947..da0a5c742c 100644
--- a/ui-ngx/src/app/modules/home/components/relation/relation-dialog.component.html
+++ b/ui-ngx/src/app/modules/home/components/relation/relation-dialog.component.html
@@ -38,6 +38,7 @@
'relation.to-entity' : 'relation.from-entity') | translate}}
implements OnInit, ErrorStateMatcher {
- relationFormGroup: UntypedFormGroup;
+ relationFormGroup: FormGroup;
+
+ additionEntityTypes: {[key in string]: string} = {};
isAdd: boolean;
direction: EntitySearchDirection;
entitySearchDirection = EntitySearchDirection;
- additionalInfo: UntypedFormControl;
+ additionalInfo: FormControl;
@ViewChild('additionalInfoEdit', {static: true}) additionalInfoEdit: JsonObjectEditComponent;
submitted = false;
+ private authUser = getCurrentAuthUser(this.store);
+
constructor(protected store: Store,
protected router: Router,
@Inject(MAT_DIALOG_DATA) public data: RelationDialogData,
private entityRelationService: EntityRelationService,
@SkipSelf() private errorStateMatcher: ErrorStateMatcher,
public dialogRef: MatDialogRef,
- public fb: UntypedFormBuilder,
+ public fb: FormBuilder,
private destroyRef: DestroyRef) {
super(store, router, dialogRef);
this.isAdd = data.isAdd;
@@ -74,13 +81,17 @@ export class RelationDialogComponent extends DialogComponent