Fixed both import types active on import dialog open
This commit is contained in:
parent
34bd41ff4e
commit
d660f60b82
@ -71,7 +71,7 @@ export class ImportDialogComponent extends DialogComponent<ImportDialogComponent
|
||||
this.importFormGroup = this.fb.group({
|
||||
importType: ['file'],
|
||||
fileContent: [null, [Validators.required]],
|
||||
jsonContent: [null, [Validators.required]]
|
||||
jsonContent: [{ value: null, disabled: true }, [Validators.required]]
|
||||
});
|
||||
this.importFormGroup.get('importType').valueChanges.pipe(
|
||||
takeUntilDestroyed(this.destroyRef)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user