Browse Source
Merge pull request #12442 from maxunbearable/fix/5395-import-dialog
Fixed both import types active on import dialog open
pull/12512/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/shared/import-export/import-dialog.component.ts
|
|
|
@ -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) |
|
|
|
|