This commit is contained in:
Ilya Ig. Petrov 2017-10-17 21:34:03 +05:00
parent 8ef11c4324
commit e37a376c53

View File

@ -55,7 +55,14 @@ export default function getModList(theState) {
const child = ifMayHaveChild && this.state.checks[index]
&& createElement(
props.childrenOfMod[conf.key],
Object.assign({}, props, {conf, onNewValue: (ifValid, newValue) => this.handleNewValue(ifValid, confMeta, newValue)})
Object.assign(
{},
props,
{
conf,
onNewValue: (ifValid, newValue) => this.handleNewValue(ifValid, confMeta, newValue),
},
)
);
return (<InfoLi