forked from p15670423/monkey
UI: Fix a bug in ConfigurePage.js responsible for lacking re-render
key property makes the component unique and causes a re-construction. This solves a bug where different configuration page tabs remain with the same data on switch
This commit is contained in:
parent
26f51d1540
commit
7df10f7730
|
@ -8,7 +8,6 @@ import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
|
|||
import {faExclamationCircle} from '@fortawesome/free-solid-svg-icons/faExclamationCircle';
|
||||
import {formValidationFormats} from '../configuration-components/ValidationFormats';
|
||||
import transformErrors from '../configuration-components/ValidationErrorMessages';
|
||||
import InternalConfig from '../configuration-components/InternalConfig';
|
||||
import UnsafeConfigOptionsConfirmationModal
|
||||
from '../configuration-components/UnsafeConfigOptionsConfirmationModal.js';
|
||||
import UnsafeOptionsWarningModal from '../configuration-components/UnsafeOptionsWarningModal.js';
|
||||
|
@ -353,7 +352,6 @@ class ConfigurePageComponent extends AuthComponent {
|
|||
formProperties['formData'],
|
||||
formProperties['uiSchema']);
|
||||
|
||||
console.log(displayedSchema)
|
||||
return (
|
||||
<div>
|
||||
<Form {...formProperties} key={displayedSchema.title}>
|
||||
|
|
Loading…
Reference in New Issue