|
|
@ -71,7 +71,7 @@ export class ImportDialogComponent extends DialogComponent<ImportDialogComponent |
|
|
this.importFormGroup = this.fb.group({ |
|
|
this.importFormGroup = this.fb.group({ |
|
|
importType: ['file'], |
|
|
importType: ['file'], |
|
|
fileContent: [null, [Validators.required]], |
|
|
fileContent: [null, [Validators.required]], |
|
|
jsonContent: [null, [Validators.required]] |
|
|
jsonContent: [{ value: null, disabled: true }, [Validators.required]] |
|
|
}); |
|
|
}); |
|
|
this.importFormGroup.get('importType').valueChanges.pipe( |
|
|
this.importFormGroup.get('importType').valueChanges.pipe( |
|
|
takeUntilDestroyed(this.destroyRef) |
|
|
takeUntilDestroyed(this.destroyRef) |
|
|
|