forked from p34709852/monkey
UI: Render PropagationConfig on Propagation tab
This commit is contained in:
parent
f8e4c5cddc
commit
457a70390c
|
@ -8,6 +8,7 @@ import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
|
||||||
import {faExclamationCircle} from '@fortawesome/free-solid-svg-icons/faExclamationCircle';
|
import {faExclamationCircle} from '@fortawesome/free-solid-svg-icons/faExclamationCircle';
|
||||||
import {formValidationFormats} from '../configuration-components/ValidationFormats';
|
import {formValidationFormats} from '../configuration-components/ValidationFormats';
|
||||||
import transformErrors from '../configuration-components/ValidationErrorMessages';
|
import transformErrors from '../configuration-components/ValidationErrorMessages';
|
||||||
|
import PropagationConfig from '../configuration-components/PropagationConfig'
|
||||||
import UnsafeConfigOptionsConfirmationModal
|
import UnsafeConfigOptionsConfirmationModal
|
||||||
from '../configuration-components/UnsafeConfigOptionsConfirmationModal.js';
|
from '../configuration-components/UnsafeConfigOptionsConfirmationModal.js';
|
||||||
import isUnsafeOptionSelected from '../utils/SafeOptionValidator.js';
|
import isUnsafeOptionSelected from '../utils/SafeOptionValidator.js';
|
||||||
|
@ -302,13 +303,18 @@ class ConfigurePageComponent extends AuthComponent {
|
||||||
formProperties['formData'],
|
formProperties['formData'],
|
||||||
formProperties['uiSchema']);
|
formProperties['uiSchema']);
|
||||||
|
|
||||||
return (
|
if (this.state.selectedSection === 'propagation') {
|
||||||
<div>
|
console.log(formProperties['uiSchema']);
|
||||||
<Form {...formProperties} key={displayedSchema.title}>
|
return (<PropagationConfig {...formProperties}/>)
|
||||||
<button type='submit' className={'hidden'}>Submit</button>
|
} else {
|
||||||
</Form>
|
return (
|
||||||
</div>
|
<div>
|
||||||
)
|
<Form {...formProperties} key={displayedSchema.title}>
|
||||||
|
<button type='submit' className={'hidden'}>Submit</button>
|
||||||
|
</Form>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
setPbaFilenameWindows = (filename) => {
|
setPbaFilenameWindows = (filename) => {
|
||||||
|
|
Loading…
Reference in New Issue